类 LogSupport
java.lang.Object
org.apache.velocity.tools.config.LogSupport
- 直接已知子类:
ConfigurationCleaner
This allows for a
Log
to optionally be attached to
a subclass in order to output logging messages. This is simpler
than constantly checking whether we have a Log or not in each
usage throughout the classes which could use logging. Methods should
only be added to this as necessary. Performance considerations
can also be made later if deemed necessary. This is meant for internal
use and should NOT be relied upon by VelocityTools users.- 版本:
- $Id: LogSupport.java 511959 2007-02-26 19:24:39Z nbubna $
- 作者:
- Nathan Bubna
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
DEFAULT_PREFIX
- 另请参阅:
-
log
private org.apache.velocity.runtime.log.Log log
-
-
构造器详细资料
-
LogSupport
public LogSupport()
-
-
方法详细资料
-
logPrefix
Override this to set a class-specific prefix -
setLog
public void setLog(org.apache.velocity.runtime.log.Log log) -
getLog
protected org.apache.velocity.runtime.log.Log getLog() -
isWarnEnabled
protected boolean isWarnEnabled() -
warn
-
isDebugEnabled
protected boolean isDebugEnabled() -
debug
-
isTraceEnabled
protected boolean isTraceEnabled() -
trace
-