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