org.apache.velocity.runtime.log
public class AvalonLogSystem extends java.lang.Object implements LogSystem
Modifier and Type | Field and Description |
---|---|
private org.apache.log.Logger |
logger |
private RuntimeServices |
rsvc |
Constructor and Description |
---|
AvalonLogSystem()
default CTOR.
|
Modifier and Type | Method and Description |
---|---|
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
|
private org.apache.log.Logger logger
private RuntimeServices rsvc
public AvalonLogSystem()
public void init(RuntimeServices rs) throws java.lang.Exception
LogSystem
public void init(java.lang.String logFile) throws java.lang.Exception
logFile
- file for log messagesjava.lang.Exception
public void logVelocityMessage(int level, java.lang.String message)
logVelocityMessage
in interface LogSystem
level
- severity levelmessage
- complete error messageCopyright ? 2002 Apache Software Foundation. All Rights Reserved.