Class 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.
    • 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