org.codehaus.mojo.pluginsupport.logging
Class MavenPluginLog

java.lang.Object
  extended by org.codehaus.mojo.pluginsupport.logging.MavenPluginLog
All Implemented Interfaces:
Log

public class MavenPluginLog
extends Object
implements Log

Bridge from the Maven plugin Log to a JCL Log.

Version:
$Id: MavenPluginLog.java 3428 2007-02-27 00:29:22Z user57 $

Constructor Summary
MavenPluginLog(String name)
           
 
Method Summary
 void debug(Object object)
           
 void debug(Object object, Throwable throwable)
           
 void error(Object object)
           
 void error(Object object, Throwable throwable)
           
 void fatal(Object object)
           
 void fatal(Object object, Throwable throwable)
           
 void info(Object object)
           
 void info(Object object, Throwable throwable)
           
 boolean isDebugEnabled()
           
 boolean isErrorEnabled()
           
 boolean isFatalEnabled()
           
 boolean isInfoEnabled()
           
 boolean isTraceEnabled()
           
 boolean isWarnEnabled()
           
static void setMojo(org.apache.maven.plugin.Mojo mojo)
           
 void trace(Object object)
           
 void trace(Object object, Throwable throwable)
           
 void warn(Object object)
           
 void warn(Object object, Throwable throwable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenPluginLog

public MavenPluginLog(String name)
Method Detail

setMojo

public static void setMojo(org.apache.maven.plugin.Mojo mojo)

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled in interface Log

isErrorEnabled

public boolean isErrorEnabled()
Specified by:
isErrorEnabled in interface Log

isFatalEnabled

public boolean isFatalEnabled()
Specified by:
isFatalEnabled in interface Log

isInfoEnabled

public boolean isInfoEnabled()
Specified by:
isInfoEnabled in interface Log

isTraceEnabled

public boolean isTraceEnabled()
Specified by:
isTraceEnabled in interface Log

isWarnEnabled

public boolean isWarnEnabled()
Specified by:
isWarnEnabled in interface Log

trace

public void trace(Object object)
Specified by:
trace in interface Log

trace

public void trace(Object object,
                  Throwable throwable)
Specified by:
trace in interface Log

debug

public void debug(Object object)
Specified by:
debug in interface Log

debug

public void debug(Object object,
                  Throwable throwable)
Specified by:
debug in interface Log

info

public void info(Object object)
Specified by:
info in interface Log

info

public void info(Object object,
                 Throwable throwable)
Specified by:
info in interface Log

warn

public void warn(Object object)
Specified by:
warn in interface Log

warn

public void warn(Object object,
                 Throwable throwable)
Specified by:
warn in interface Log

error

public void error(Object object)
Specified by:
error in interface Log

error

public void error(Object object,
                  Throwable throwable)
Specified by:
error in interface Log

fatal

public void fatal(Object object)
Specified by:
fatal in interface Log

fatal

public void fatal(Object object,
                  Throwable throwable)
Specified by:
fatal in interface Log


Copyright © 2011 Codehaus. All Rights Reserved.