Class MavenLogger

  • All Implemented Interfaces:
    Logger

    public class MavenLogger
    extends AbstractLogger
    Logger that sends messages to the Maven 2 logging subsystem.
    • Constructor Detail

      • MavenLogger

        public MavenLogger​(org.apache.maven.plugin.logging.Log logger)
        Parameters:
        logger - the Maven 2 logger to send messages to
    • 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