ILog IsWarnEnabled Property | Apache log4net™ SDK Documentation

Checks if this logger is enabled for the Warn level.

Namespace: log4net
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    bool IsWarnEnabled { get; }

    ReadOnly Property IsWarnEnabled As Boolean
    	Get

    property bool IsWarnEnabled {
    	bool get ();
    }

    abstract IsWarnEnabled : bool with get

#### Property Value

Type: Boolean
true if this logger is enabled for Warn events, false otherwise.
Remarks

For more information see IsDebugEnabled.
See Also

#### Reference

ILog Interface
log4net Namespace
[M:Warn(object)]
[M:WarnFormat(IFormatProvider, string, object[])]
ILog
IsDebugEnabled