| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.velocity.runtime.log.NullLogChute
public class NullLogChute
Logger used in case of failure. Does nothing.
| Field Summary | 
|---|
| Fields inherited from interface org.apache.velocity.runtime.log.LogChute | 
|---|
DEBUG_ID, DEBUG_PREFIX, ERROR_ID, ERROR_PREFIX, INFO_ID, INFO_PREFIX, TRACE_ID, TRACE_PREFIX, WARN_ID, WARN_PREFIX | 
| Constructor Summary | |
|---|---|
NullLogChute()
 | 
|
| Method Summary | |
|---|---|
 void | 
init(RuntimeServices rs)
Initializes this LogChute.  | 
 boolean | 
isLevelEnabled(int level)
Tell whether or not a log level is enabled.  | 
 void | 
log(int level,
    String message)
logs messages to the great Garbage Collector in the sky  | 
 void | 
log(int level,
    String message,
    Throwable t)
logs messages and their accompanying Throwables to the great Garbage Collector in the sky  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public NullLogChute()
| Method Detail | 
|---|
public void init(RuntimeServices rs)
          throws Exception
LogChute
init in interface LogChuteExceptionLogChute.init(org.apache.velocity.runtime.RuntimeServices)
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 messaget - the java.lang.Throwablepublic boolean isLevelEnabled(int level)
LogChute
isLevelEnabled in interface LogChuteLogChute.isLevelEnabled(int)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||