Class ServletLogger
java.lang.Object
org.apache.velocity.tools.view.ServletLogChute
org.apache.velocity.tools.view.servlet.ServletLogger
- All Implemented Interfaces:
org.apache.velocity.runtime.log.LogChute
,org.apache.velocity.runtime.log.LogSystem
@Deprecated
public class ServletLogger
extends ServletLogChute
implements org.apache.velocity.runtime.log.LogSystem
Deprecated.
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.
- Version:
- $Revision: 651470 $ $Date: 2007-02-26 11:24:39 -0800 (Mon, 26 Feb 2007) $
- Author:
- Geir Magnusson Jr.
-
Field Summary
Fields inherited from class org.apache.velocity.tools.view.ServletLogChute
PREFIX, RUNTIME_LOG_LEVEL_KEY, servletContext
Fields inherited from interface org.apache.velocity.runtime.log.LogChute
DEBUG_ID, DEBUG_PREFIX, ERROR_ID, ERROR_PREFIX, INFO_ID, INFO_PREFIX, TRACE_ID, TRACE_PREFIX, WARN_ID, WARN_PREFIX
Fields inherited from interface org.apache.velocity.runtime.log.LogSystem
DEBUG_ID, DEBUG_ON, ERROR_ID, INFO_ID, WARN_ID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(org.apache.velocity.runtime.RuntimeServices rs) Deprecated.init()void
logVelocityMessage
(int level, 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
-
Constructor Details
-
ServletLogger
public ServletLogger()Deprecated.
-
-
Method Details
-
init
Deprecated.Description copied from class:ServletLogChute
init()- Specified by:
init
in interfaceorg.apache.velocity.runtime.log.LogChute
- Specified by:
init
in interfaceorg.apache.velocity.runtime.log.LogSystem
- Overrides:
init
in classServletLogChute
- Throws:
Exception
-
logVelocityMessage
Deprecated.Send a log message from Velocity.- Specified by:
logVelocityMessage
in interfaceorg.apache.velocity.runtime.log.LogSystem
-
ServletLogChute
instead