org.apache.velocity.tools.test
Class FilteredLogChuteCommonsLog

java.lang.Object
  extended by org.apache.velocity.tools.generic.log.LogChuteCommonsLog
      extended by org.apache.velocity.tools.test.FilteredLogChuteCommonsLog
All Implemented Interfaces:
org.apache.commons.logging.Log

public class FilteredLogChuteCommonsLog
extends LogChuteCommonsLog

This logging adapter filters out trace and debug messages that don't come from the velocity package (provided its given name contains a class name)

Version:
$Id:$
Author:
Claude Brisson

Constructor Summary
FilteredLogChuteCommonsLog(String name)
           
 
Method Summary
 void debug(Object message)
           
 void debug(Object message, Throwable t)
           
 void trace(Object message)
           
 void trace(Object message, Throwable t)
           
 
Methods inherited from class org.apache.velocity.tools.generic.log.LogChuteCommonsLog
error, error, fatal, fatal, getTarget, getVelocityLog, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, setVelocityLog, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilteredLogChuteCommonsLog

public FilteredLogChuteCommonsLog(String name)
Method Detail

trace

public void trace(Object message)
Specified by:
trace in interface org.apache.commons.logging.Log
Overrides:
trace in class LogChuteCommonsLog

trace

public void trace(Object message,
                  Throwable t)
Specified by:
trace in interface org.apache.commons.logging.Log
Overrides:
trace in class LogChuteCommonsLog

debug

public void debug(Object message)
Specified by:
debug in interface org.apache.commons.logging.Log
Overrides:
debug in class LogChuteCommonsLog

debug

public void debug(Object message,
                  Throwable t)
Specified by:
debug in interface org.apache.commons.logging.Log
Overrides:
debug in class LogChuteCommonsLog


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.