org.springframework.security.saml.util
Class SLF4JLogChute
java.lang.Object
org.springframework.security.saml.util.SLF4JLogChute
- All Implemented Interfaces:
- org.apache.velocity.runtime.log.LogChute
public class SLF4JLogChute
- extends Object
- implements org.apache.velocity.runtime.log.LogChute
Implementation of a simple SLF4J system that will either latch onto
an existing category, or just do a simple rolling file log.
- Author:
- Mandus Elfving
Fields inherited from interface org.apache.velocity.runtime.log.LogChute |
DEBUG_ID, DEBUG_PREFIX, ERROR_ID, ERROR_PREFIX, INFO_ID, INFO_PREFIX, TRACE_ID, TRACE_PREFIX, WARN_ID, WARN_PREFIX |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SLF4JLogChute
public SLF4JLogChute()
init
public void init(org.apache.velocity.runtime.RuntimeServices rs)
throws Exception
- Specified by:
init
in interface org.apache.velocity.runtime.log.LogChute
- Throws:
Exception
- See Also:
LogChute.init(org.apache.velocity.runtime.RuntimeServices)
log
public void log(int level,
String message)
- Specified by:
log
in interface org.apache.velocity.runtime.log.LogChute
- See Also:
LogChute.log(int, java.lang.String)
log
public void log(int level,
String message,
Throwable t)
- Specified by:
log
in interface org.apache.velocity.runtime.log.LogChute
- See Also:
LogChute.log(int, java.lang.String, java.lang.Throwable)
isLevelEnabled
public boolean isLevelEnabled(int level)
- Specified by:
isLevelEnabled
in interface org.apache.velocity.runtime.log.LogChute
- See Also:
LogChute.isLevelEnabled(int)