| java.lang.Object org.apache.velocity.tools.view.servlet.ServletLogger
ServletLogger | public class ServletLogger implements LogSystem(Code) | | Simple wrapper for the servlet log. This has Velocity log
messages to ServletContext.log(String).
author: Geir Magnusson Jr. version: $Revision: 477914 $ $Date: 2006-11-21 13:52:11 -0800 (Tue, 21 Nov 2006) $ |
Constructor Summary | |
public | ServletLogger() Construct a simple logger for a servlet environment.
NOTE: this class expects that the ServletContext has already
been placed in the runtime's application attributes
under its full class name (i.e. |
ServletLogger | public ServletLogger()(Code) | | Construct a simple logger for a servlet environment.
NOTE: this class expects that the ServletContext has already
been placed in the runtime's application attributes
under its full class name (i.e. "javax.servlet.ServletContext").
|
logVelocityMessage | public void logVelocityMessage(int level, String message)(Code) | | Send a log message from Velocity.
|
|
|