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)
LogSystem
private void internalInit(java.lang.String logfile) throws java.lang.Exception
java.lang.Exception
public void logVelocityMessage(int level, java.lang.String message)
logVelocityMessage
in interface LogSystem
level
- severity levelmessage
- complete error messageprotected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public void shutdown()
Copyright ? 2002 Apache Software Foundation. All Rights Reserved.