org.objectweb.util.monolog.wrapper.velocity
Class VelocityLogger

java.lang.Object
  extended byorg.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

Constructor Summary
VelocityLogger(Logger l)
           
 
Method Summary
 Logger getLog()
           
 void init(RuntimeServices services)
          Nothing to do, except checking that the associated logger is not null.
 void logVelocityMessage(int i, java.lang.String s)
           
 void setLog(Logger l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityLogger

public VelocityLogger(Logger l)
               throws java.lang.UnsupportedOperationException
Method Detail

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)