java.lang.Object
org.apache.commons.logging.impl.SimpleLog
com.sun.ts.tests.common.webclient.log.WebLog
All Implemented Interfaces:
Serializable, org.apache.commons.logging.Log

public class WebLog extends org.apache.commons.logging.impl.SimpleLog
See Also:
  • Field Summary

    Fields inherited from class org.apache.commons.logging.impl.SimpleLog

    currentLogLevel, dateFormatter, dateTimeFormat, DEFAULT_DATE_TIME_FORMAT, LOG_LEVEL_ALL, LOG_LEVEL_DEBUG, LOG_LEVEL_ERROR, LOG_LEVEL_FATAL, LOG_LEVEL_INFO, LOG_LEVEL_OFF, LOG_LEVEL_TRACE, LOG_LEVEL_WARN, logName, showDateTime, showLogName, showShortName, simpleLogProps, systemPrefix
  • Constructor Summary

    Constructors
    Constructor
    Description
    WebLog(String name)
    Construct a simple log with given name.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    log(int type, Object message, Throwable t)
    Do the actual logging.

    Methods inherited from class org.apache.commons.logging.impl.SimpleLog

    debug, debug, error, error, fatal, fatal, getLevel, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isLevelEnabled, isTraceEnabled, isWarnEnabled, setLevel, trace, trace, warn, warn, write

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WebLog

      public WebLog(String name)
      Construct a simple log with given name.
      Parameters:
      name - log name
  • Method Details

    • log

      protected void log(int type, Object message, Throwable t)
      Do the actual logging. This method assembles the message and then prints to System.err.
      Overrides:
      log in class org.apache.commons.logging.impl.SimpleLog