public class NullLogChute extends java.lang.Object implements LogChute
DEBUG_ID, DEBUG_PREFIX, ERROR_ID, ERROR_PREFIX, INFO_ID, INFO_PREFIX, TRACE_ID, TRACE_PREFIX, WARN_ID, WARN_PREFIX| Constructor and Description |
|---|
NullLogChute() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(RuntimeServices rs)
Initializes this LogChute.
|
boolean |
isLevelEnabled(int level)
Tell whether or not a log level is enabled.
|
void |
log(int level,
java.lang.String message)
logs messages to the great Garbage Collector in the sky
|
void |
log(int level,
java.lang.String message,
java.lang.Throwable t)
logs messages and their accompanying Throwables
to the great Garbage Collector in the sky
|
public void init(RuntimeServices rs) throws java.lang.Exception
LogChuteinit in interface LogChutejava.lang.ExceptionLogChute.init(bboss.org.apache.velocity.runtime.RuntimeServices)public void log(int level,
java.lang.String message)
public void log(int level,
java.lang.String message,
java.lang.Throwable t)
public boolean isLevelEnabled(int level)
LogChuteisLevelEnabled in interface LogChuteLogChute.isLevelEnabled(int)