Class VelocityRuntimeProvider.Slf4jLogChute

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

    public static class VelocityRuntimeProvider.Slf4jLogChute
    extends Object
    implements org.apache.velocity.runtime.log.LogChute
    Connects Velocity to sfl4j.
    • Constructor Detail

      • Slf4jLogChute

        public Slf4jLogChute()
    • Method Detail

      • init

        public void init​(org.apache.velocity.runtime.RuntimeServices rs)
        Specified by:
        init 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
      • 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 msg,
                        Throwable err)
        Specified by:
        log in interface org.apache.velocity.runtime.log.LogChute