DEBUG_ID, DEBUG_PREFIX, ERROR_ID, ERROR_PREFIX, INFO_ID, INFO_PREFIX, TRACE_ID, TRACE_PREFIX, WARN_ID, WARN_PREFIX| 限定符 | 构造器和说明 |
|---|---|
protected |
LogChuteSystem(LogSystem wrapMe)
Only classes in this package should be creating this.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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)
Send a log message from Velocity.
|
void |
log(int level,
java.lang.String message,
java.lang.Throwable t)
First passes off the message at the specified level,
then passes off stack trace of the Throwable as a
2nd message at the same level.
|
protected LogChuteSystem(LogSystem wrapMe)
wrapMe - public void init(RuntimeServices rs) throws java.lang.Exception
LogChuteinit 在接口中 LogChutejava.lang.ExceptionLogChute.init(bboss.org.apache.velocity.runtime.RuntimeServices)public void log(int level,
java.lang.String message)
LogChutelog 在接口中 LogChuteLogChute.log(int, java.lang.String)public void log(int level,
java.lang.String message,
java.lang.Throwable t)
public boolean isLevelEnabled(int level)
LogChuteisLevelEnabled 在接口中 LogChuteLogChute.isLevelEnabled(int)