Class MavenLogger

java.lang.Object
org.apache.tools.ant.DefaultLogger
org.apache.maven.plugins.antrun.MavenLogger
All Implemented Interfaces:
EventListener, org.apache.tools.ant.BuildListener, org.apache.tools.ant.BuildLogger

public class MavenLogger extends org.apache.tools.ant.DefaultLogger
Redirects build events from DefaultLogger to Log.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.apache.maven.plugin.logging.Log
     

    Fields inherited from class org.apache.tools.ant.DefaultLogger

    emacsMode, err, LEFT_COLUMN_SIZE, lSep, msgOutputLevel, out
  • Constructor Summary

    Constructors
    Constructor
    Description
    MavenLogger(org.apache.maven.plugin.logging.Log log)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    printMessage(String message, PrintStream stream, int priority)
     

    Methods inherited from class org.apache.tools.ant.DefaultLogger

    buildFinished, buildStarted, extractProjectName, formatTime, getBuildFailedMessage, getBuildSuccessfulMessage, getTimestamp, log, messageLogged, setEmacsMode, setErrorPrintStream, setMessageOutputLevel, setOutputPrintStream, targetFinished, targetStarted, taskFinished, taskStarted

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • log

      private final org.apache.maven.plugin.logging.Log log
  • Constructor Details

    • MavenLogger

      public MavenLogger(org.apache.maven.plugin.logging.Log log)
  • Method Details

    • printMessage

      protected void printMessage(String message, PrintStream stream, int priority)
      Overrides:
      printMessage in class org.apache.tools.ant.DefaultLogger