org.objectweb.util.monolog.wrapper.velocity

Class VelocityLogger

Implemented Interfaces:
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.

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, String s)
void
setLog(Logger l)

Constructor Details

VelocityLogger

public VelocityLogger(Logger l)
            throws UnsupportedOperationException

Method Details

getLog

public Logger getLog()


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)