org.apache.velocity.runtime.log
クラス AvalonLogSystem

java.lang.Object
  拡張org.apache.velocity.runtime.log.AvalonLogSystem
すべての実装インタフェース:
LogSystem

public class AvalonLogSystem
extends java.lang.Object
implements LogSystem

Implementation of a Avalon logger.

バージョン:
$Id: AvalonLogSystem.java,v 1.11 2001/11/17 12:02:52 geirm Exp $
作成者:
Jon S. Stevens, Geir Magnusson Jr.

フィールドの概要
private  org.apache.log.Logger logger
           
private  RuntimeServices rsvc
           
 
インタフェース org.apache.velocity.runtime.log.LogSystem から継承したフィールド
DEBUG_ID, DEBUG_ON, ERROR_ID, INFO_ID, WARN_ID
 
コンストラクタの概要
AvalonLogSystem()
          default CTOR.
 
メソッドの概要
 void init(RuntimeServices rs)
          init()
 void init(java.lang.String logFile)
          initializes the log system using the logfile argument
 void logVelocityMessage(int level, java.lang.String message)
          logs messages
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

logger

private org.apache.log.Logger logger

rsvc

private RuntimeServices rsvc
コンストラクタの詳細

AvalonLogSystem

public AvalonLogSystem()
default CTOR. Initializes itself using the property RUNTIME_LOG from the Velocity properties

メソッドの詳細

init

public void init(RuntimeServices rs)
          throws java.lang.Exception
インタフェース LogSystem の記述:
init()

定義:
インタフェース LogSystem 内の init
例外:
java.lang.Exception

init

public void init(java.lang.String logFile)
          throws java.lang.Exception
initializes the log system using the logfile argument

パラメータ:
logFile - file for log messages
例外:
java.lang.Exception

logVelocityMessage

public void logVelocityMessage(int level,
                               java.lang.String message)
logs messages

定義:
インタフェース LogSystem 内の logVelocityMessage
パラメータ:
level - severity level
message - complete error message


Copyright © 2003 Apache Software Foundation. All Rights Reserved.