|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.apache.velocity.runtime.log.AvalonLogSystem
Implementation of a Avalon logger.
| Field Summary | |
private org.apache.log.Logger |
logger
|
private RuntimeServices |
rsvc
|
| Fields inherited from interface org.apache.velocity.runtime.log.LogSystem |
DEBUG_ID, DEBUG_ON, ERROR_ID, INFO_ID, WARN_ID |
| Constructor Summary | |
AvalonLogSystem()
default CTOR. |
|
| Method Summary | |
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 |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private org.apache.log.Logger logger
private RuntimeServices rsvc
| Constructor Detail |
public AvalonLogSystem()
| Method Detail |
public void init(RuntimeServices rs)
throws java.lang.Exception
LogSysteminit in interface LogSystem
public void init(java.lang.String logFile)
throws java.lang.Exception
logFile - file for log messages
public void logVelocityMessage(int level,
java.lang.String message)
logVelocityMessage in interface LogSystemlevel - severity levelmessage - complete error message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||