net.sf.doolin.template.velocity
Class VelocityLogSystem

java.lang.Object
  extended by net.sf.doolin.template.velocity.VelocityLogSystem
All Implemented Interfaces:
org.apache.velocity.runtime.log.LogChute

public class VelocityLogSystem
extends Object
implements org.apache.velocity.runtime.log.LogChute

Logger of Velocity

Author:
Damien Coraboeuf

Field Summary
 
Fields inherited from interface org.apache.velocity.runtime.log.LogChute
DEBUG_ID, DEBUG_PREFIX, ERROR_ID, ERROR_PREFIX, INFO_ID, INFO_PREFIX, TRACE_ID, TRACE_PREFIX, WARN_ID, WARN_PREFIX
 
Constructor Summary
VelocityLogSystem()
           
 
Method Summary
 void init(org.apache.velocity.runtime.RuntimeServices runtimeServices)
          No init needed
 boolean isLevelEnabled(int level)
           
 void log(int level, String message)
          Logger
 void log(int level, String message, Throwable th)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityLogSystem

public VelocityLogSystem()
Method Detail

init

public void init(org.apache.velocity.runtime.RuntimeServices runtimeServices)
          throws Exception
No init needed

Specified by:
init in interface org.apache.velocity.runtime.log.LogChute
Throws:
Exception

isLevelEnabled

public boolean isLevelEnabled(int level)
Specified by:
isLevelEnabled in interface org.apache.velocity.runtime.log.LogChute

log

public void log(int level,
                String message)
Logger

Specified by:
log in interface org.apache.velocity.runtime.log.LogChute

log

public void log(int level,
                String message,
                Throwable th)
Specified by:
log in interface org.apache.velocity.runtime.log.LogChute


Copyright © 2011. All Rights Reserved.