Package org.apache.log.util
Class DefaultErrorHandler
java.lang.Object
org.apache.log.util.DefaultErrorHandler
- All Implemented Interfaces:
ErrorHandler
Handle unrecoverable errors that occur during logging by
writing to standard error.
- Author:
- Peter Donald
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultErrorHandler
public DefaultErrorHandler()
-
-
Method Details
-
error
Log an unrecoverable error.- Specified by:
errorin interfaceErrorHandler- Parameters:
message- the error messagethrowable- the exception associated with error (may be null)event- the LogEvent that caused error, if any (may be null)
-