com.nativelibs4java.velocity
Class MavenLogChute

java.lang.Object
  extended by 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


Field Summary
 
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)
           
 
Method Summary
 void init(org.apache.velocity.runtime.RuntimeServices arg0)
           
 boolean isLevelEnabled(int lvl)
           
 void log(int lvl, String msg)
           
 void log(int lvl, String msg, Throwable t)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenLogChute

public MavenLogChute(org.apache.maven.plugin.logging.Log logger)
Method Detail

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.