| org.apache.velocity.runtime.log.LogChute
All known Subclasses: org.apache.velocity.runtime.log.NullLogChute, org.apache.velocity.test.misc.TestLogChute, org.apache.velocity.runtime.log.LogChuteSystem, org.apache.velocity.test.EventHandlingTestCase, org.apache.velocity.test.ExternalLoggerTestCase, org.apache.velocity.test.MethodOverloadingTestCase, org.apache.velocity.runtime.log.HoldingLogChute, org.apache.velocity.runtime.log.Log4JLogChute, org.apache.dvsl.AntLogChute, org.apache.velocity.test.ClassloaderChangeTestCase, org.apache.velocity.runtime.log.JdkLogChute, org.apache.velocity.runtime.log.SystemLogChute, org.apache.velocity.runtime.log.AvalonLogChute, org.apache.velocity.test.FilteredEventHandlingTestCase,
LogChute | public interface LogChute (Code) | | Base interface that logging systems need to implement. This
is the blessed descendant of the old LogSystem interface.
author: Jon S. Stevens author: Geir Magnusson Jr. author: Nathan Bubna version: $Id: LogChute.java 494611 2007-01-09 21:57:20Z henning $ |
DEBUG_ID | int DEBUG_ID(Code) | | ID for debug messages.
|
DEBUG_PREFIX | String DEBUG_PREFIX(Code) | | Prefix string for debug messages.
|
ERROR_ID | int ERROR_ID(Code) | | ID for error messages.
|
ERROR_PREFIX | String ERROR_PREFIX(Code) | | Prefix string for error messages.
|
INFO_ID | int INFO_ID(Code) | | ID for info messages.
|
INFO_PREFIX | String INFO_PREFIX(Code) | | Prefix string for info messages.
|
TRACE_ID | int TRACE_ID(Code) | | ID for trace messages.
|
TRACE_PREFIX | String TRACE_PREFIX(Code) | | Prefix string for trace messages.
|
WARN_ID | int WARN_ID(Code) | | ID for warning messages.
|
WARN_PREFIX | String WARN_PREFIX(Code) | | Prefix string for warn messages.
|
isLevelEnabled | boolean isLevelEnabled(int level)(Code) | | Tell whether or not a log level is enabled.
Parameters: level - True if a level is enabled. |
log | void log(int level, String message)(Code) | | Send a log message from Velocity.
Parameters: level - Parameters: message - |
log | void log(int level, String message, Throwable t)(Code) | | Send a log message from Velocity along with an exception or error
Parameters: level - Parameters: message - Parameters: t - |
|
|