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.
Use ServletLogChute instead

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.
  • Constructor Details

    • ServletLogger

      public ServletLogger()
      Deprecated.
  • Method Details

    • init

      public void init(org.apache.velocity.runtime.RuntimeServices rs) throws Exception
      Deprecated.
      Description copied from class: ServletLogChute
      init()
      Specified by:
      init in interface org.apache.velocity.runtime.log.LogChute
      Specified by:
      init in interface org.apache.velocity.runtime.log.LogSystem
      Overrides:
      init in class ServletLogChute
      Throws:
      Exception
    • logVelocityMessage

      public void logVelocityMessage(int level, String message)
      Deprecated.
      Send a log message from Velocity.
      Specified by:
      logVelocityMessage in interface org.apache.velocity.runtime.log.LogSystem