public class SimpleLog4JLogSystem extends java.lang.Object implements LogSystem
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.log4j.Category |
logger
log4java logging interface
|
private RuntimeServices |
rsvc |
| Constructor and Description |
|---|
SimpleLog4JLogSystem() |
| Modifier and Type | Method and Description |
|---|---|
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
|
private RuntimeServices rsvc
protected org.apache.log4j.Category logger
public void init(RuntimeServices rs)
LogSystemprivate void internalInit(java.lang.String logfile)
throws java.lang.Exception
java.lang.Exceptionpublic void logVelocityMessage(int level,
java.lang.String message)
logVelocityMessage in interface LogSystemlevel - severity levelmessage - complete error messageprotected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic void shutdown()
Copyright ? 2002 Apache Software Foundation. All Rights Reserved.