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 java.lang.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, java.lang.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 java.lang.Exception
Specified by:
init in interface org.apache.velocity.runtime.log.LogSystem
Throws:
java.lang.Exception

logVelocityMessage

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


Copyright © 2003-2013 Atlassian. All Rights Reserved.