com.ibm.dse.applsrv.aa
Interface LogHandler
- public interface LogHandler
This is the interface for the handler of logged messages.
Method Summary |
void |
log(java.lang.String aString)
A log handler must implement a method that will log a message. |
void |
log(java.lang.String aString,
java.lang.Throwable anException)
A log handler must implement a method that will log an exception (optionally accompanied by a nessage). |
log
public void log(java.lang.String aString)
- A log handler must implement a method that will log a message.
- Parameters:
aString
- String - the message to log.
log
public void log(java.lang.String aString,
java.lang.Throwable anException)
- A log handler must implement a method that will log an exception (optionally accompanied by a nessage).
- Parameters:
aString
- String - the message to log. [optional - may be null]anException
- Throwable - the exception to log.