org.objectweb.util.monolog.wrapper.velocity
Class VelocityLogger
java.lang.Object
org.objectweb.util.monolog.wrapper.velocity.VelocityLogger
- public class VelocityLogger
- extends java.lang.Object
This class permits to connect the velocity log to a monolog system.
To use this class you have to specify the logger that you want in the
constructor.
- Author:
- Sebastien Chassande-Barrioz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityLogger
public VelocityLogger(Logger l)
throws java.lang.UnsupportedOperationException
setLog
public void setLog(Logger l)
getLog
public Logger getLog()
init
public void init(RuntimeServices services)
throws java.lang.Exception
- Nothing to do, except checking that the associated logger is not null.
- Throws:
java.lang.Exception
logVelocityMessage
public void logVelocityMessage(int i,
java.lang.String s)