Class AntLogger

  • All Implemented Interfaces:
    Logger

    public class AntLogger
    extends AbstractLogger
    Logger implementation that logs to Ant.
    • Constructor Detail

      • AntLogger

        public AntLogger​(org.apache.tools.ant.Task task)
        Constructor.
        Parameters:
        task - The Ant task
      • AntLogger

        public AntLogger​(org.apache.tools.ant.Target target)
        Constructor.
        Parameters:
        target - The current target
      • AntLogger

        public AntLogger​(org.apache.tools.ant.Project project)
        Constructor.
        Parameters:
        project - The Ant project
    • Method Detail

      • doLog

        protected void doLog​(LogLevel level,
                             String message,
                             String category)
        Common method for all severity levels.
        Specified by:
        doLog in class AbstractLogger
        Parameters:
        level - the log level (aka severity) of the message
        message - the message to log
        category - the log category