 | LoggerIsErrorEnabled Property |
Gets a value indicating whether logging is enabled for the Error level.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxpublic 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
ILoggerIsErrorEnabled
See Also