com.ibm.as400.util.servlet

Class ServletEventLog

  • java.lang.Object
    • com.ibm.as400.util.servlet.ServletEventLog
  • All Implemented Interfaces:
    Log


    public class ServletEventLog
    extends java.lang.Object
    implements Log
    The ServletEventLog class represents an Log object.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ServletEventLog(javax.servlet.ServletConfig config)
      Constructs an ServletEventLog object with the specified servlet configuration.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void log(java.lang.String msg)
      Logs a message to the event log.
      void log(java.lang.String msg, java.lang.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(java.lang.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(java.lang.String msg,
               java.lang.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.