org.apache.myfaces.buildtools.maven2.plugin.builder.utils
Class MavenPluginConsoleLogSystem

java.lang.Object
  extended by org.apache.myfaces.buildtools.maven2.plugin.builder.utils.MavenPluginConsoleLogSystem
All Implemented Interfaces:
org.apache.velocity.runtime.log.LogChute

public class MavenPluginConsoleLogSystem
extends Object
implements org.apache.velocity.runtime.log.LogChute


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
MavenPluginConsoleLogSystem(org.apache.maven.plugin.logging.Log l)
           
 
Method Summary
 org.apache.maven.plugin.logging.Log getLogger()
           
 void init(org.apache.velocity.runtime.RuntimeServices runtimeservices)
           
 boolean isLevelEnabled(int i)
           
 void log(int level, String message)
           
 void log(int level, String message, Throwable throwable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenPluginConsoleLogSystem

public MavenPluginConsoleLogSystem(org.apache.maven.plugin.logging.Log l)
Method Detail

getLogger

public org.apache.maven.plugin.logging.Log getLogger()

init

public void init(org.apache.velocity.runtime.RuntimeServices runtimeservices)
          throws Exception
Specified by:
init in interface org.apache.velocity.runtime.log.LogChute
Throws:
Exception

isLevelEnabled

public boolean isLevelEnabled(int i)
Specified by:
isLevelEnabled in interface org.apache.velocity.runtime.log.LogChute

log

public void log(int level,
                String message)
Specified by:
log in interface org.apache.velocity.runtime.log.LogChute

log

public void log(int level,
                String message,
                Throwable throwable)
Specified by:
log in interface org.apache.velocity.runtime.log.LogChute


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.