ServletLogChute instead@Deprecated public class ServletLogger extends ServletLogChute
This is basically an empty subclass of ServletLogChute that exists
merely for backwards compatibility with VelocityTools 1.x. Please
use ServletLogChute directly, as this will likely be removed
in VelocityTools 2.1, if not earlier.
PREFIX, RUNTIME_LOG_LEVEL_KEY, servletContext| Constructor and Description |
|---|
ServletLogger()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
init(RuntimeServices rs)
Deprecated.
init()
|
void |
logVelocityMessage(int level,
java.lang.String message)
Deprecated.
Send a log message from Velocity.
|
getEnabledLevel, isLevelEnabled, log, log, setEnabledLevel, toLevelpublic void init(RuntimeServices rs)
throws java.lang.Exception
ServletLogChuteinit in class ServletLogChutejava.lang.IllegalStateException - if the ServletContext is not available
in the application attributes under the appropriate key.java.lang.Exceptionpublic void logVelocityMessage(int level,
java.lang.String message)
Copyright (c) 2003-2007 Apache Software Foundation