org.apache.log
Interface ErrorHandler
- DefaultErrorHandler
public interface ErrorHandler
Handle unrecoverable errors that occur during logging.
Based on Log4js notion of ErrorHandlers.
void | error(String message, Throwable throwable, LogEvent event) - Log an unrecoverable error.
|
error
public void error(String message,
Throwable throwable,
LogEvent event)
Log an unrecoverable error.
message
- the error messagethrowable
- the exception associated with error (may be null)event
- the LogEvent that caused error, if any (may be null)