| LoggerIsErrorEnabled Property |
Gets a value indicating whether logging is enabled for the Error level.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public bool IsErrorEnabled { get; }
Public ReadOnly Property IsErrorEnabled As Boolean
Get
Dim instance As Logger
Dim value As Boolean
value = instance.IsErrorEnabled
abstract IsErrorEnabled : bool with get
override IsErrorEnabled : bool with get
Return Value
Type:
BooleanA value of
if logging is enabled for the
Error level, otherwise it returns
.
Implements
ILoggerIsErrorEnabledSee Also