|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.velocity.runtime.log.SimpleLog4JLogSystem
public class SimpleLog4JLogSystem
This class is deprecated in favor of the new Log4JLogChute,
which makes use of Log4J's Logger rather than its deprecated
Category class.
| Field Summary | |
|---|---|
protected Category |
logger
Deprecated. log4java logging interface |
| Fields inherited from interface org.apache.velocity.runtime.log.LogSystem |
|---|
DEBUG_ID, DEBUG_ON, ERROR_ID, INFO_ID, WARN_ID |
| Constructor Summary | |
|---|---|
SimpleLog4JLogSystem()
Deprecated. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Category logger
| Constructor Detail |
|---|
public SimpleLog4JLogSystem()
| Method Detail |
|---|
public void init(RuntimeServices rs)
LogSystem
init in interface LogSystemLogSystem.init(org.apache.velocity.runtime.RuntimeServices)
public void logVelocityMessage(int level,
String message)
logVelocityMessage in interface LogSystemlevel - severity levelmessage - complete error message
protected void finalize()
throws Throwable
finalize in class ObjectThrowablepublic void shutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||