hudson.maven
Class EmbedderLoggerImpl

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLoggerManager
      extended by org.apache.maven.cli.MavenLoggerManager
          extended by hudson.maven.EmbedderLoggerImpl
All Implemented Interfaces:
org.codehaus.plexus.logging.LoggerManager, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable

public final class EmbedderLoggerImpl
extends org.apache.maven.cli.MavenLoggerManager

MavenEmbedderLogger implementation that sends output to TaskListener.

Author:
Kohsuke Kawaguchi

Field Summary
 
Fields inherited from interface org.codehaus.plexus.logging.LoggerManager
ROLE
 
Constructor Summary
EmbedderLoggerImpl(TaskListener listener, int threshold)
           
 
Method Summary
 void debug(String message, Throwable throwable)
           
 void error(String message, Throwable throwable)
           
 void fatalError(String message, Throwable throwable)
           
 void info(String message, Throwable throwable)
           
 void warn(String message, Throwable throwable)
           
 
Methods inherited from class org.apache.maven.cli.MavenLoggerManager
getActiveLoggerCount, getLoggerForComponent, getThreshold, getThreshold, initialize, returnComponentLogger, setThreshold, setThreshold, setThresholds
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLoggerManager
getLoggerForComponent, returnComponentLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.plexus.logging.LoggerManager
getLoggerForComponent, returnComponentLogger
 

Constructor Detail

EmbedderLoggerImpl

public EmbedderLoggerImpl(TaskListener listener,
                          int threshold)
Method Detail

debug

public void debug(String message,
                  Throwable throwable)

info

public void info(String message,
                 Throwable throwable)

warn

public void warn(String message,
                 Throwable throwable)

error

public void error(String message,
                  Throwable throwable)

fatalError

public void fatalError(String message,
                       Throwable throwable)


Copyright © 2004-2013. All Rights Reserved.