LogLog IsWarnEnabled Property | Apache log4net™ SDK Documentation

Test if LogLog.Warn is enabled for output.

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

C#
VB
C++
F#
Copy

    public static bool IsWarnEnabled { get; }

    Public Shared ReadOnly Property IsWarnEnabled As Boolean
    	Get

    public:
    static property bool IsWarnEnabled {
    	bool get ();
    }

    static member IsWarnEnabled : bool with get

#### Property Value

Type: Boolean
true if Warn is enabled
Remarks

Test if LogLog.Warn is enabled for output.

See Also

#### Reference

LogLog Class
log4net.Util Namespace