org.apache.jasper.logging
クラス JasperLogger

java.lang.Object
  |
  +--org.apache.jasper.logging.Logger
        |
        +--org.apache.jasper.logging.JasperLogger

public class JasperLogger
extends Logger

A real implementation of the Logger abstraction.

導入されたバージョン:
Tomcat 3.1
作成者:
Anil V (akv@eng.sun.com)

クラス org.apache.jasper.logging.Logger から継承した内部クラス
Logger.Helper
 
クラス org.apache.jasper.logging.Logger から継承したフィールド
custom, DEBUG, defaultLogger, defaultSink, ERROR, FATAL, INFORMATION, loggers, name, sink, timestamp, timestampFormat, timestampFormatter, timestampRaw, WARNING
 
コンストラクタの概要
JasperLogger()
           
JasperLogger(javax.servlet.ServletContext servletContext)
           
 
メソッドの概要
 void flush()
          Flush the log.
protected  void realLog(java.lang.String message)
          Adds a log message to the queue and returns immediately.
protected  void realLog(java.lang.String message, java.lang.Throwable t)
          Adds a log message and stack trace to the queue and returns immediately.
 java.lang.String toString()
           
 
クラス org.apache.jasper.logging.Logger から継承したメソッド
canIgnore, close, formatTimestamp, formatTimestamp, getDefaultLogger, getLogger, getLoggerNames, getName, getPath, getTimestampFormat, getVerbosityLevel, isOpen, isTimestamp, log, log, log, log, matchVerbosityLevel, open, putLogger, removeLogger, setCustomOutput, setDefaultSink, setName, setPath, setTimestamp, setTimestampFormat, setVerbosityLevel, setVerbosityLevel, throwableToString, throwableToString
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

JasperLogger

public JasperLogger(javax.servlet.ServletContext servletContext)

JasperLogger

public JasperLogger()
メソッドの詳細

realLog

protected void realLog(java.lang.String message)
Adds a log message to the queue and returns immediately. The logger daemon thread will pick it up later and actually print it out.
オーバーライド:
クラス Logger 内の realLog
パラメータ:
message - the message to log.

realLog

protected void realLog(java.lang.String message,
                       java.lang.Throwable t)
Adds a log message and stack trace to the queue and returns immediately. The logger daemon thread will pick it up later and actually print it out.
オーバーライド:
クラス Logger 内の realLog
パラメータ:
message - the message to log.
t - the exception that was thrown.

flush

public void flush()
Flush the log.
オーバーライド:
クラス Logger 内の flush

toString

public java.lang.String toString()
オーバーライド:
クラス Logger 内の toString


Copyright ? 2000 Apache Software Foundation. All Rights Reserved.