Class VelocityRuntimeProvider.Slf4jLogChute
- java.lang.Object
-
- com.google.gerrit.server.mail.send.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 Summary
Constructors Constructor Description Slf4jLogChute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(org.apache.velocity.runtime.RuntimeServices rs)
boolean
isLevelEnabled(int level)
void
log(int level, String message)
void
log(int level, String msg, Throwable err)
-
-
-
Method Detail
-
init
public void init(org.apache.velocity.runtime.RuntimeServices rs)
- Specified by:
init
in interfaceorg.apache.velocity.runtime.log.LogChute
-
isLevelEnabled
public boolean isLevelEnabled(int level)
- Specified by:
isLevelEnabled
in interfaceorg.apache.velocity.runtime.log.LogChute
-
log
public void log(int level, String message)
- Specified by:
log
in interfaceorg.apache.velocity.runtime.log.LogChute
-
-