 | LoggerIsWarnEnabled Property |
Gets a value indicating whether logging is enabled for the Warn level.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic 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
ILoggerIsWarnEnabled
See Also