Summary
Determines whether build output is enabled for the given
NAnt.Core.Level.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core - Containing Type
- Task
Syntax
public bool IsLogEnabledFor(Level messageLevel)
Remarks
The threshold of the project is not taken into account to determine
whether a message should be passed to the logging infrastructure,
as build listeners might be interested in receiving all messages.
Parameters
| Name | Type | Description |
|---|---|---|
| messageLevel | Level | The NAnt.Core.Level to check. |
Return Value
| Type | Description |
|---|---|
| bool |
true if messages with the given NAnt.Core.Level
should be passed on to the logging infrastructure; otherwise,
false.
|
