Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

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