IErrorHandler Interface
IErrorHandler InterfaceApache log4net™ SDK Documentation
Appenders may delegate their error handling to an IErrorHandler.

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

public interface IErrorHandler
Methods

  NameDescription
Public methodError(String)
Prints the error message passed as a parameter.
Public methodError(String, Exception)
Prints the error message passed as a parameter.
Public methodError(String, Exception, ErrorCode)
Handles the error and information about the error condition is passed as a parameter.
Top
Remarks

Error handling is a particularly tedious to get right because by definition errors are hard to predict and to reproduce.

See Also

Reference