log4net SDK Reference

ILog.IsErrorEnabled Property

Checks if this logger is enabled for the Error level.

[Visual Basic]
Property IsErrorEnabled As Boolean
[C#]
bool IsErrorEnabled {get;}

Property Value

true if this logger is enabled for Error events, false otherwise.

Remarks

For more information see IsDebugEnabled.

See Also

ILog Interface | log4net Namespace | Error | ErrorFormat | IsDebugEnabled