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.UseServletLogChuteinsteadThis is basically an empty subclass of
ServletLogChutethat exists merely for backwards compatibility with VelocityTools 1.x. Please useServletLogChutedirectly, as this will likely be removed in VelocityTools 2.1, if not earlier.- Version:
- $Revision$ $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
-
-
Constructor Summary
Constructors Constructor Description ServletLogger()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidinit(org.apache.velocity.runtime.RuntimeServices rs)Deprecated.init()voidlogVelocityMessage(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
-
-
-
-
Method Detail
-
init
public void init(org.apache.velocity.runtime.RuntimeServices rs) throws ExceptionDeprecated.Description copied from class:ServletLogChuteinit()- Specified by:
initin interfaceorg.apache.velocity.runtime.log.LogChute- Specified by:
initin interfaceorg.apache.velocity.runtime.log.LogSystem- Overrides:
initin classServletLogChute- Throws:
Exception
-
logVelocityMessage
public void logVelocityMessage(int level, String message)Deprecated.Send a log message from Velocity.- Specified by:
logVelocityMessagein interfaceorg.apache.velocity.runtime.log.LogSystem
-
-