| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_LOG_NAME
Default name for the JDK logger instance
|
protected org.slf4j.Logger |
logger |
static java.lang.String |
RUNTIME_LOG_JDK_LOGGER
Property key for specifying the name for the logger instance
|
static java.lang.String |
RUNTIME_LOG_JDK_LOGGER_LEVEL |
DEBUG_ID, DEBUG_PREFIX, ERROR_ID, ERROR_PREFIX, INFO_ID, INFO_PREFIX, TRACE_ID, TRACE_PREFIX, WARN_ID, WARN_PREFIX| Constructor and Description |
|---|
JdkLogChute() |
| Modifier and Type | Method and Description |
|---|---|
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)
Logs messages
|
void |
log(int level,
java.lang.String message,
java.lang.Throwable t)
Send a log message from Velocity along with an exception or error
|
public static final java.lang.String RUNTIME_LOG_JDK_LOGGER
public static final java.lang.String RUNTIME_LOG_JDK_LOGGER_LEVEL
public static final java.lang.String DEFAULT_LOG_NAME
protected org.slf4j.Logger logger
public void init(RuntimeServices rs)
LogChuteinit in interface LogChuteLogChute.init(bboss.org.apache.velocity.runtime.RuntimeServices)public void log(int level,
java.lang.String message)
public void log(int level,
java.lang.String message,
java.lang.Throwable t)
public boolean isLevelEnabled(int level)
LogChuteisLevelEnabled in interface LogChuteLogChute.isLevelEnabled(int)