OnlyOnceErrorHandler IsEnabled Property | Apache log4net™ SDK Documentation

Is error logging enabled

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

C#
VB
C++
F#
Copy

    public bool IsEnabled { get; }

    Public ReadOnly Property IsEnabled As Boolean
    	Get

    public:
    property bool IsEnabled {
    	bool get ();
    }

    member IsEnabled : bool with get

#### Property Value

Type: Boolean
Remarks

Is error logging enabled. Logging is only enabled for the first error delivered to the OnlyOnceErrorHandler.

See Also

#### Reference

OnlyOnceErrorHandler Class
log4net.Util Namespace