org.apache.james.ai.classic
Class SystemLog
java.lang.Object
org.apache.james.ai.classic.SystemLog
- All Implemented Interfaces:
- Log
public class SystemLog
- extends Object
- implements Log
Logs naively to system out. Not recommended for production.
Method Summary |
void |
log(String errorString)
An abstract method which child classes override to handle logging of
errors in their particular environments. |
void |
log(String errorString,
Throwable t)
An abstract method which child classes override to handle logging of
errors in their particular environments. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemLog
public SystemLog()
log
public void log(String errorString)
- Description copied from interface:
Log
- An abstract method which child classes override to handle logging of
errors in their particular environments.
- Specified by:
log
in interface Log
- Parameters:
errorString
- the error message generated
log
public void log(String errorString,
Throwable t)
- Description copied from interface:
Log
- An abstract method which child classes override to handle logging of
errors in their particular environments.
- Specified by:
log
in interface Log
- Parameters:
errorString
- the error message generatedt
- exception
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.