NLog Logging Library

Logger.IsErrorEnabled Property

[This is preliminary documentation and subject to change.]

Determines if logging is enabled for the Error level.

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

See Also

Logger Class | NLog Namespace