Appenders may delegate their error handling to an IErrorHandler.
Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
Methods
Name | Description | |
---|---|---|
Error(String) |
Prints the error message passed as a parameter.
| |
Error(String, Exception) |
Prints the error message passed as a parameter.
| |
Error(String, Exception, ErrorCode) |
Handles the error and information about the error condition is passed as
a parameter.
|
Remarks
Error handling is a particularly tedious to get right because by definition errors are hard to predict and to reproduce.
See Also