Package org.apache.solr.response
Class SolrVelocityLogger
- java.lang.Object
-
- org.apache.solr.response.SolrVelocityLogger
-
- All Implemented Interfaces:
org.apache.velocity.runtime.log.LogChute
public class SolrVelocityLogger extends Object implements org.apache.velocity.runtime.log.LogChute
-
-
Constructor Summary
Constructors Constructor Description SolrVelocityLogger(org.slf4j.Logger log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(org.apache.velocity.runtime.RuntimeServices runtimeServices)
boolean
isLevelEnabled(int level)
void
log(int level, String message)
void
log(int level, String message, Throwable throwable)
-
-
-
Method Detail
-
init
public void init(org.apache.velocity.runtime.RuntimeServices runtimeServices) throws Exception
- Specified by:
init
in interfaceorg.apache.velocity.runtime.log.LogChute
- Throws:
Exception
-
log
public void log(int level, String message)
- Specified by:
log
in interfaceorg.apache.velocity.runtime.log.LogChute
-
log
public void log(int level, String message, Throwable throwable)
- Specified by:
log
in interfaceorg.apache.velocity.runtime.log.LogChute
-
isLevelEnabled
public boolean isLevelEnabled(int level)
- Specified by:
isLevelEnabled
in interfaceorg.apache.velocity.runtime.log.LogChute
-
-