LogImpl IsErrorEnabled Property | Apache log4net™ SDK Documentation

Checks if this logger is enabled for the ERROR level.

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

C#
VB
C++
F#
Copy

    public virtual bool IsErrorEnabled { get; }

    Public Overridable ReadOnly Property IsErrorEnabled As Boolean
    	Get

    public:
    virtual property bool IsErrorEnabled {
    	bool get ();
    }

    abstract IsErrorEnabled : bool with get
    override IsErrorEnabled : bool with get

#### Property Value

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

#### Implements

ILog
IsErrorEnabled
Remarks

See IsDebugEnabled for more information and examples of using this method.

See Also

#### Reference

LogImpl Class
log4net.Core Namespace
ILog
IsDebugEnabled