|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.velocity.tools.view.ServletLogChute
org.apache.velocity.tools.view.servlet.ServletLogger
ServletLogChute
instead
@Deprecated public class ServletLogger
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.
Field Summary |
---|
Fields inherited from class org.apache.velocity.tools.view.ServletLogChute |
---|
PREFIX, RUNTIME_LOG_LEVEL_KEY, servletContext |
Constructor Summary | |
---|---|
ServletLogger()
Deprecated. |
Method Summary | |
---|---|
void |
init(RuntimeServices rs)
Deprecated. init() |
void |
logVelocityMessage(int level,
java.lang.String message)
Deprecated. Send a log message from Velocity. |
Methods inherited from class org.apache.velocity.tools.view.ServletLogChute |
---|
getEnabledLevel, isLevelEnabled, log, log, setEnabledLevel, toLevel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServletLogger()
Method Detail |
---|
public void init(RuntimeServices rs) throws java.lang.Exception
ServletLogChute
init
in class ServletLogChute
java.lang.IllegalStateException
- if the ServletContext is not available
in the application attributes under the appropriate key.
java.lang.Exception
public void logVelocityMessage(int level, java.lang.String message)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |