org.eclipse.actf.util.logging
Class AbstractErrorLogger

java.lang.Object
  extended by org.eclipse.actf.util.logging.AbstractErrorLogger
All Implemented Interfaces:
IErrorLogger
Direct Known Subclasses:
ConsoleErrorLogger, EclipseErrorLogger, StreamErrorLogger

public abstract class AbstractErrorLogger
extends Object
implements IErrorLogger

a base from which error loggers can be built. Extending this class, clients need only implement logError(String, Throwable).

Author:
Mike Squillace

Constructor Summary
AbstractErrorLogger()
           
 
Method Summary
 void logError(String msg)
          log an error message
 void logError(Throwable t)
          log a Throwable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.actf.util.logging.IErrorLogger
logError
 

Constructor Detail

AbstractErrorLogger

public AbstractErrorLogger()
Method Detail

logError

public void logError(Throwable t)
log a Throwable

Specified by:
logError in interface IErrorLogger
Parameters:
t - - Throwable to log

logError

public void logError(String msg)
log an error message

Specified by:
logError in interface IErrorLogger
Parameters:
msg - - error message