org.apache.logging.log4j.core
Interface ErrorHandler

All Known Implementing Classes:
DefaultErrorHandler

public interface ErrorHandler

Appenders may delegate their error handling to ErrorHandlers.


Method Summary
 void error(String msg)
          Handle an error with a message.
 void error(String msg, LogEvent event, Throwable t)
          Handle an error with a message, and exception and a logging event.
 void error(String msg, Throwable t)
          Handle an error with a message and an exception.
 

Method Detail

error

void error(String msg)
Handle an error with a message.

Parameters:
msg - The message.

error

void error(String msg,
           Throwable t)
Handle an error with a message and an exception.

Parameters:
msg - The message.
t - The Throwable.

error

void error(String msg,
           LogEvent event,
           Throwable t)
Handle an error with a message, and exception and a logging event.

Parameters:
msg - The message.
event - The LogEvent.
t - The Throwable.


Copyright © 1999-2012 Apache Software Foundation. All Rights Reserved.