Class Slf4jLogChute
- java.lang.Object
-
- com.atlassian.confluence.impl.velocity.Slf4jLogChute
-
- All Implemented Interfaces:
org.apache.velocity.runtime.log.LogChute
public final class Slf4jLogChute extends Object implements org.apache.velocity.runtime.log.LogChute
-
-
Constructor Summary
Constructors Constructor Description Slf4jLogChute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(org.apache.velocity.runtime.RuntimeServices runtimeServices)booleanisLevelEnabled(int level)voidlog(int level, String message)voidlog(int level, String message, Throwable t)
-
-
-
Method Detail
-
init
public void init(org.apache.velocity.runtime.RuntimeServices runtimeServices) throws Exception- Specified by:
initin interfaceorg.apache.velocity.runtime.log.LogChute- Throws:
Exception
-
log
public void log(int level, String message)- Specified by:
login interfaceorg.apache.velocity.runtime.log.LogChute
-
log
public void log(int level, String message, Throwable t)- Specified by:
login interfaceorg.apache.velocity.runtime.log.LogChute
-
isLevelEnabled
public boolean isLevelEnabled(int level)
- Specified by:
isLevelEnabledin interfaceorg.apache.velocity.runtime.log.LogChute
-
-