Methods Summary |
---|
public void | error(java.lang.String message, java.lang.Exception e, int errorCode)Equivalent to the {@link #error(String, Exception, int,
LoggingEvent event)} with the the event parameteter set to
null .
|
public void | error(java.lang.String message)This method is normally used to just print the error message
passed as a parameter.
|
public void | error(java.lang.String message, java.lang.Exception e, int errorCode, org.apache.log4j.spi.LoggingEvent event)This method is invoked to handle the error.
|
public void | setAppender(org.apache.log4j.Appender appender)Set the appender for which errors are handled. This method is
usually called when the error handler is configured.
|
public void | setBackupAppender(org.apache.log4j.Appender appender)Set the appender to falkback upon in case of failure.
|
public void | setLogger(org.apache.log4j.Logger logger)Add a reference to a logger to which the failing appender might
be attached to. The failing appender will be searched and
replaced only in the loggers you add through this method.
|