 | ILoggerIsWarnEnabled 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
Syntaxbool IsWarnEnabled { get; }ReadOnly Property IsWarnEnabled As Boolean
Get
Dim instance As ILogger
Dim value As Boolean
value = instance.IsWarnEnabled
abstract IsWarnEnabled : bool with get
Return Value
Type:
BooleanA value of
if logging is enabled for the
Warn level, otherwise it returns
.
See Also