|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.velocity.runtime.log.AvalonLogChute
Implementation of a Avalon logger.
| Field Summary |
| Fields inherited from interface org.apache.velocity.runtime.log.LogChute |
DEBUG_ID, ERROR_ID, INFO_ID, TRACE_ID, WARN_ID |
| Constructor Summary | |
AvalonLogChute()
|
|
| Method Summary | |
protected void |
finalize()
Also do a shutdown if the object is destroy()'d. |
void |
init(RuntimeServices rs)
Initializes this LogChute. |
void |
init(String file)
Deprecated. This method should not be used. It is here only to provide backwards compatibility for the deprecated AvalonLogSystem class, in case anyone used it and this method directly. |
boolean |
isLevelEnabled(int level)
Checks to see whether the specified level is enabled. |
void |
log(int level,
String message)
logs messages |
void |
log(int level,
String message,
Throwable t)
logs messages and error |
void |
shutdown()
Close all destinations |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AvalonLogChute()
| Method Detail |
public void init(RuntimeServices rs)
throws Exception
LogChute
init in interface LogChuteException
public void init(String file)
throws Exception
Exception
public void log(int level,
String message)
log in interface LogChutelevel - severity levelmessage - complete error message
public void log(int level,
String message,
Throwable t)
log in interface LogChutelevel - severity levelmessage - complete error messagepublic boolean isLevelEnabled(int level)
isLevelEnabled in interface LogChute
protected void finalize()
throws Throwable
Throwablepublic void shutdown()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||