Class Slf4jLogChute

  • All Implemented Interfaces:
    org.apache.velocity.runtime.log.LogChute

    public final class Slf4jLogChute
    extends Object
    implements org.apache.velocity.runtime.log.LogChute
    • Constructor Detail

      • Slf4jLogChute

        public Slf4jLogChute()
    • Method Detail

      • init

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

        public void log​(int level,
                        String message)
        Specified by:
        log in interface org.apache.velocity.runtime.log.LogChute
      • log

        public void log​(int level,
                        String message,
                        Throwable t)
        Specified by:
        log in interface org.apache.velocity.runtime.log.LogChute
      • isLevelEnabled

        public boolean isLevelEnabled​(int level)
        Specified by:
        isLevelEnabled in interface org.apache.velocity.runtime.log.LogChute