NLog Logging Library

Logger.IsWarnEnabled Property

[This is preliminary documentation and subject to change.]

Determines if logging is enabled for the Warn level.

[Visual Basic]
Public ReadOnly Property IsWarnEnabled As Boolean
[C#]
public bool IsWarnEnabled {get;}

See Also

Logger Class | NLog Namespace