fr.umlv.tatoo.cc.common.velocity
Class VelocityLogger
java.lang.Object
fr.umlv.tatoo.cc.common.velocity.VelocityLogger
- All Implemented Interfaces:
- org.apache.velocity.runtime.log.LogSystem
public class VelocityLogger
- extends Object
- implements org.apache.velocity.runtime.log.LogSystem
This class implements a velocity logger that
redirect all errors to the thread local Reporter
.
- Author:
- Gilles
Fields inherited from interface org.apache.velocity.runtime.log.LogSystem |
DEBUG_ID, DEBUG_ON, ERROR_ID, INFO_ID, WARN_ID |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityLogger
public VelocityLogger()
init
public void init(org.apache.velocity.runtime.RuntimeServices service)
throws Exception
- Specified by:
init
in interface org.apache.velocity.runtime.log.LogSystem
- Throws:
Exception
logVelocityMessage
public void logVelocityMessage(int level,
String message)
- Specified by:
logVelocityMessage
in interface org.apache.velocity.runtime.log.LogSystem