org.apache.log.util

Class DefaultErrorHandler

public class DefaultErrorHandler extends Object implements ErrorHandler

Handle unrecoverable errors that occur during logging by writing to standard error.

Author: Peter Donald

Method Summary
voiderror(String message, Throwable throwable, LogEvent event)
Log an unrecoverable error.

Method Detail

error

public void error(String message, Throwable throwable, LogEvent event)
Log an unrecoverable error.

Parameters: message the error message throwable the exception associated with error (may be null) event the LogEvent that caused error, if any (may be null)