Package org.apache.velocity.runtime.log
Class NullLogChute
java.lang.Object
org.apache.velocity.runtime.log.NullLogChute
- All Implemented Interfaces:
LogChute
- Direct Known Subclasses:
NullLogSystem
Logger used in case of failure. Does nothing.
- Since:
- 1.5
- Version:
- $Id: NullLogChute.java 730039 2008-12-30 03:53:19Z byron $
- Author:
- Geir Magnusson Jr., Nathan Bubna.
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(RuntimeServices rs) Initializes this LogChute.boolean
isLevelEnabled
(int level) Tell whether or not a log level is enabled.void
logs messages to the great Garbage Collector in the skyvoid
logs messages and their accompanying Throwables to the great Garbage Collector in the sky
-
Constructor Details
-
NullLogChute
public NullLogChute()
-
-
Method Details
-
init
Description copied from interface:LogChute
Initializes this LogChute. -
log
logs messages to the great Garbage Collector in the sky -
log
logs messages and their accompanying Throwables to the great Garbage Collector in the sky -
isLevelEnabled
public boolean isLevelEnabled(int level) Description copied from interface:LogChute
Tell whether or not a log level is enabled.- Specified by:
isLevelEnabled
in interfaceLogChute
- Returns:
- True if a level is enabled.
- See Also:
-