com.ibm.as400.util.servlet
Class ServletEventLog

java.lang.Object
  extended bycom.ibm.as400.util.servlet.ServletEventLog
All Implemented Interfaces:
Log

public class ServletEventLog
extends Object
implements Log

The ServletEventLog class represents an Log object.


Constructor Summary
ServletEventLog(javax.servlet.ServletConfig config)
          Constructs an ServletEventLog object with the specified servlet configuration.
 
Method Summary
 void log(String msg)
          Logs a message to the event log.
 void log(String msg, Throwable exception)
          Logs an exception and message to the event log.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletEventLog

public ServletEventLog(javax.servlet.ServletConfig config)
Constructs an ServletEventLog object with the specified servlet configuration.

Parameters:
config - The servlet configuration.
Method Detail

log

public void log(String msg)
Logs a message to the event log.

Specified by:
log in interface Log
Parameters:
msg - The message to log.

log

public void log(String msg,
                Throwable exception)
Logs an exception and message to the event log.

Specified by:
log in interface Log
Parameters:
msg - The message to log.
exception - The exception to log.