log4net SDK Reference

LogImpl.IsErrorEnabled Property

Checks if this logger is enabled for the ERROR level.

[Visual Basic]
Overridable Public ReadOnly Property IsErrorEnabled As Boolean _
    Implements ILog.IsErrorEnabled
[C#]
public virtual bool IsErrorEnabled {get;}

Property Value

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

LogImpl Class | log4net.Core Namespace | IsDebugEnabled