org.eclipse.actf.util.logging
Interface IErrorLogger

All Known Implementing Classes:
AbstractErrorLogger, ConsoleErrorLogger, EclipseErrorLogger, StreamErrorLogger

public interface IErrorLogger

used to log errors to different destinations such as files, streams, or GUI components. The ErrorLoggerFactory interface should be implemented to return instances of this interface appropriate to different contexts.

Author:
Mike Squillace

Method Summary
 void logError(String msg)
          log an error message
 void logError(String msg, Throwable t)
          log an error message along with its corresponding Throwable.
 void logError(Throwable t)
          log a Throwable
 

Method Detail

logError

void logError(Throwable t)
log a Throwable

Parameters:
t - - Throwable to log

logError

void logError(String msg)
log an error message

Parameters:
msg - - error message

logError

void logError(String msg,
              Throwable t)
log an error message along with its corresponding Throwable. If no message is specified, the class and toString() of the Throwable should be logged.

Parameters:
msg - - error message
t - - Throwable being logged