com.atlassian.confluence.util.velocity
Class NullVelocityLogSystem

java.lang.Object
  extended by com.atlassian.confluence.util.velocity.NullVelocityLogSystem
All Implemented Interfaces:
org.apache.velocity.runtime.log.LogSystem

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

Implement the LogSystem interface to swallow velocity log messages.


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

Constructor Detail

NullVelocityLogSystem

public NullVelocityLogSystem()
Method Detail

init

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

logVelocityMessage

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


Copyright © 2003–2015 Atlassian. All rights reserved.