Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

ILog.IsWarnEnabled Property

Checks if this logger is enabled for the Warn level.

[Visual�Basic]
Property�IsWarnEnabled�As�Boolean
[C#]
bool�IsWarnEnabled�{get;}

Property Value

true if this logger is enabled for Warn events, false otherwise.

Remarks

For more information see IsDebugEnabled.

See Also

ILog Interface | log4net Namespace | Warn | WarnFormat | IsDebugEnabled