com.pmease.quickbuild.log
Class VelocityLogger

java.lang.Object
  extended by com.pmease.quickbuild.log.VelocityLogger
All Implemented Interfaces:
org.apache.velocity.runtime.log.LogChute

public class VelocityLogger
extends java.lang.Object
implements org.apache.velocity.runtime.log.LogChute


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
VelocityLogger()
           
 
Method Summary
 void init(org.apache.velocity.runtime.RuntimeServices runtimeServices)
           
 boolean isLevelEnabled(int level)
           
 void log(int level, java.lang.String message)
           
 void log(int level, java.lang.String message, java.lang.Throwable throwable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityLogger

public VelocityLogger()
Method Detail

init

public void init(org.apache.velocity.runtime.RuntimeServices runtimeServices)
          throws java.lang.Exception
Specified by:
init in interface org.apache.velocity.runtime.log.LogChute
Throws:
java.lang.Exception

isLevelEnabled

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

log

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

log

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


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.