Class SolrVelocityLogger

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

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

      • SolrVelocityLogger

        public SolrVelocityLogger​(org.slf4j.Logger log)
    • 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 throwable)
        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