Package org.apache.logging.log4j.core
Interface ErrorHandler
-
- All Known Implementing Classes:
DefaultErrorHandler,ErrorHandlerAdapter
public interface ErrorHandlerAppenders may delegate their error handling toErrorHandlers. TODO if the appender interface is simplified, then error handling could just be done by wrapping a nested appender. (RG) Please look at DefaultErrorHandler. It's purpose is to make sure the console or error log isn't flooded with messages. I'm still considering the Appender refactoring.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiderror(String msg)Handle an error with a message.voiderror(String msg, Throwable t)Handle an error with a message and an exception.voiderror(String msg, LogEvent event, Throwable t)Handle an error with a message, and exception and a logging event.
-