Class MojoToJCLLog

java.lang.Object
org.apache.creadur.whisker.plugin.maven.MojoToJCLLog
All Implemented Interfaces:
org.apache.commons.logging.Log

public class MojoToJCLLog extends Object implements org.apache.commons.logging.Log
Adapts commons logging calls to Maven.
  • Constructor Details

    • MojoToJCLLog

      public MojoToJCLLog(org.apache.maven.plugin.logging.Log log)
      Constructs a log than delegates to Maven.
      Parameters:
      log - not null
  • Method Details

    • debug

      public void debug(Object message)
      Delegates to Maven.
      Specified by:
      debug in interface org.apache.commons.logging.Log
      Parameters:
      message - possibly null
      See Also:
      • Log.debug(java.lang.Object)
    • debug

      public void debug(Object message, Throwable t)
      Delegates to Maven.
      Specified by:
      debug in interface org.apache.commons.logging.Log
      Parameters:
      message - possibly null
      t - cause
      See Also:
      • Log.debug(java.lang.Object, java.lang.Throwable)
    • error

      public void error(Object message)
      Delegates to Maven.
      Specified by:
      error in interface org.apache.commons.logging.Log
      Parameters:
      message - possibly null
      See Also:
      • Log.error(java.lang.Object)
    • error

      public void error(Object message, Throwable t)
      Delegates to Maven.
      Specified by:
      error in interface org.apache.commons.logging.Log
      Parameters:
      message - possibly null
      t - cause
      See Also:
      • Log.error(java.lang.Object, java.lang.Throwable)
    • fatal

      public void fatal(Object message)
      Delegates to Maven.
      Specified by:
      fatal in interface org.apache.commons.logging.Log
      Parameters:
      message - possibly null
      See Also:
      • Log.fatal(java.lang.Object)
    • fatal

      public void fatal(Object message, Throwable t)
      Delegates to Maven.
      Specified by:
      fatal in interface org.apache.commons.logging.Log
      Parameters:
      message - possibly null
      t - cause
      See Also:
      • Log.fatal(java.lang.Object, java.lang.Throwable)
    • info

      public void info(Object message)
      Delegates to Maven.
      Specified by:
      info in interface org.apache.commons.logging.Log
      Parameters:
      message - possibly null
      See Also:
      • Log.info(java.lang.Object)
    • info

      public void info(Object message, Throwable t)
      Delegates to Maven.
      Specified by:
      info in interface org.apache.commons.logging.Log
      Parameters:
      message - possibly null
      t - cause
      See Also:
      • Log.info(java.lang.Object, java.lang.Throwable)
    • isDebugEnabled

      public boolean isDebugEnabled()
      Delegates to Maven.
      Specified by:
      isDebugEnabled in interface org.apache.commons.logging.Log
      Returns:
      true when debug is enabled in Maven
      See Also:
      • Log.isDebugEnabled()
    • isErrorEnabled

      public boolean isErrorEnabled()
      Delegates to Maven.
      Specified by:
      isErrorEnabled in interface org.apache.commons.logging.Log
      Returns:
      true when error is enabled in Maven
      See Also:
      • Log.isErrorEnabled()
    • isFatalEnabled

      public boolean isFatalEnabled()
      Delegates to Maven.
      Specified by:
      isFatalEnabled in interface org.apache.commons.logging.Log
      Returns:
      true when error is enabled in Maven
      See Also:
      • Log.isFatalEnabled()
    • isInfoEnabled

      public boolean isInfoEnabled()
      Delegates to Maven.
      Specified by:
      isInfoEnabled in interface org.apache.commons.logging.Log
      Returns:
      true when info is enabled in Maven
      See Also:
      • Log.isInfoEnabled()
    • isTraceEnabled

      public boolean isTraceEnabled()
      Delegates to Maven.
      Specified by:
      isTraceEnabled in interface org.apache.commons.logging.Log
      Returns:
      true when trace is enabled in Maven
      See Also:
      • Log.isTraceEnabled()
    • isWarnEnabled

      public boolean isWarnEnabled()
      Delegates to Maven.
      Specified by:
      isWarnEnabled in interface org.apache.commons.logging.Log
      Returns:
      true when warn is enabled in Maven
      See Also:
      • Log.isWarnEnabled()
    • trace

      public void trace(Object message)
      Delegates to Maven.
      Specified by:
      trace in interface org.apache.commons.logging.Log
      Parameters:
      message - possibly null
      See Also:
      • Log.trace(java.lang.Object)
    • trace

      public void trace(Object message, Throwable t)
      Delegates to Maven.
      Specified by:
      trace in interface org.apache.commons.logging.Log
      Parameters:
      message - possibly null
      t - cause
      See Also:
      • Log.trace(java.lang.Object, java.lang.Throwable)
    • warn

      public void warn(Object message)
      Delegates to Maven.
      Specified by:
      warn in interface org.apache.commons.logging.Log
      Parameters:
      message - possibly null
      See Also:
      • Log.warn(java.lang.Object)
    • warn

      public void warn(Object message, Throwable t)
      Delegates to Maven.
      Specified by:
      warn in interface org.apache.commons.logging.Log
      Parameters:
      message - possibly null
      t - cause
      See Also:
      • Log.warn(java.lang.Object, java.lang.Throwable)