public class SimpleLog4JLogSystem extends Object implements LogSystem
This class is deprecated in favor of the new Log4JLogChute
,
which makes use of Log4J's Logger
rather than its deprecated
Category
class.
Modifier and Type | Field and Description |
---|---|
protected org.apache.log4j.Category |
logger
Deprecated.
log4java logging interface
|
Constructor and Description |
---|
SimpleLog4JLogSystem()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
finalize()
Deprecated.
Also do a shutdown if the object is destroy()'d.
|
void |
init(RuntimeServices rs)
Deprecated.
Initializes this LogSystem.
|
void |
logVelocityMessage(int level,
String message)
Deprecated.
logs messages
|
void |
shutdown()
Deprecated.
Close all destinations
|
protected org.apache.log4j.Category logger
public void init(RuntimeServices rs)
LogSystem
init
in interface LogSystem
LogSystem.init(org.apache.velocity.runtime.RuntimeServices)
public void logVelocityMessage(int level, String message)
logVelocityMessage
in interface LogSystem
level
- severity levelmessage
- complete error messageprotected void finalize() throws Throwable
public void shutdown()
Copyright © 2000–2016. All rights reserved.