org.springframework.ui.velocity
Class CommonsLoggingLogSystem

java.lang.Object
  extended by org.springframework.ui.velocity.CommonsLoggingLogSystem
All Implemented Interfaces:
org.apache.velocity.runtime.log.LogSystem

public class CommonsLoggingLogSystem
extends Object
implements org.apache.velocity.runtime.log.LogSystem

Velocity LogSystem implementation for Jakarta Commons Logging. Used by VelocityConfigurer to redirect log output.

Since:
07.08.2003
Author:
Juergen Hoeller
See Also:
VelocityEngineFactoryBean

Field Summary
 
Fields inherited from interface org.apache.velocity.runtime.log.LogSystem
DEBUG_ID, DEBUG_ON, ERROR_ID, INFO_ID, WARN_ID
 
Constructor Summary
CommonsLoggingLogSystem()
           
 
Method Summary
 void init(org.apache.velocity.runtime.RuntimeServices runtimeServices)
           
 void logVelocityMessage(int type, String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonsLoggingLogSystem

public CommonsLoggingLogSystem()
Method Detail

init

public void init(org.apache.velocity.runtime.RuntimeServices runtimeServices)
Specified by:
init in interface org.apache.velocity.runtime.log.LogSystem

logVelocityMessage

public void logVelocityMessage(int type,
                               String msg)
Specified by:
logVelocityMessage in interface org.apache.velocity.runtime.log.LogSystem


Copyright (c) 2002-2006 The Spring Framework Project.