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
LogSystempublic void init(java.lang.String logFile)
throws java.lang.Exception
logFile - file for log messagesjava.lang.Exceptionpublic void logVelocityMessage(int level,
java.lang.String message)
logVelocityMessage in interface LogSystemlevel - severity levelmessage - complete error messageCopyright ? 2002 Apache Software Foundation. All Rights Reserved.