|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectorg.apache.velocity.runtime.log.SimpleLog4JLogSystem
Implementation of a simple log4j system that will either latch onto an existing category, or just do a simple rolling file log. Derived from Jon's 'complicated' version :)
| フィールドの概要 | |
protected org.apache.log4j.Category |
logger
log4java logging interface |
private RuntimeServices |
rsvc
|
| インタフェース org.apache.velocity.runtime.log.LogSystem から継承したフィールド |
DEBUG_ID, DEBUG_ON, ERROR_ID, INFO_ID, WARN_ID |
| コンストラクタの概要 | |
SimpleLog4JLogSystem()
|
|
| メソッドの概要 | |
protected void |
finalize()
Also do a shutdown if the object is destroy()'d. |
void |
init(RuntimeServices rs)
init() |
private void |
internalInit(java.lang.String logfile)
initializes the log system using the logfile argument |
void |
logVelocityMessage(int level,
java.lang.String message)
logs messages |
void |
shutdown()
Close all destinations |
| クラス java.lang.Object から継承したメソッド |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
private RuntimeServices rsvc
protected org.apache.log4j.Category logger
| コンストラクタの詳細 |
public SimpleLog4JLogSystem()
| メソッドの詳細 |
public void init(RuntimeServices rs)
LogSystem の記述:
LogSystem 内の init
private void internalInit(java.lang.String logfile)
throws java.lang.Exception
java.lang.Exception
public void logVelocityMessage(int level,
java.lang.String message)
LogSystem 内の logVelocityMessagelevel - severity levelmessage - complete error message
protected void finalize()
throws java.lang.Throwable
java.lang.Throwablepublic void shutdown()
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||