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.
|
メソッドの概要 |
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 levelmessage - complete error message
Copyright © 2003 Apache Software Foundation. All Rights Reserved.