org.objectweb.util.monolog.wrapper.velocity
Class VelocityLogger
java.lang.Object
org.objectweb.util.monolog.wrapper.velocity.VelocityLogger
- LogSystem
public class VelocityLogger
extends java.lang.Object
implements LogSystem
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.
- Sebastien Chassande-Barrioz
VelocityLogger
public VelocityLogger(Logger l)
throws UnsupportedOperationException
init
public void init(RuntimeServices services)
throws Exception
Nothing to do, except checking that the associated logger is not null.
logVelocityMessage
public void logVelocityMessage(int i,
String s)
setLog
public void setLog(Logger l)