com.nativelibs4java.velocity
Class MavenLogChute
java.lang.Object
com.nativelibs4java.velocity.MavenLogChute
- All Implemented Interfaces:
- org.apache.velocity.runtime.log.LogChute
public class MavenLogChute
- extends Object
- implements org.apache.velocity.runtime.log.LogChute
Yet another logging translator, this time going from:
org.apache.velocity.runtime.log.LogChute to:
org.apache.maven.plugin.logging.Log
| 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 |
|
Constructor Summary |
MavenLogChute(org.apache.maven.plugin.logging.Log logger)
|
MavenLogChute
public MavenLogChute(org.apache.maven.plugin.logging.Log logger)
init
public void init(org.apache.velocity.runtime.RuntimeServices arg0)
throws Exception
- Specified by:
init in interface org.apache.velocity.runtime.log.LogChute
- Throws:
Exception
isLevelEnabled
public boolean isLevelEnabled(int lvl)
- Specified by:
isLevelEnabled in interface org.apache.velocity.runtime.log.LogChute
log
public void log(int lvl,
String msg)
- Specified by:
log in interface org.apache.velocity.runtime.log.LogChute
log
public void log(int lvl,
String msg,
Throwable t)
- Specified by:
log in interface org.apache.velocity.runtime.log.LogChute
Copyright © 2009-2014. All Rights Reserved.