org.codehaus.mojo.animal_sniffer.maven
Class MavenLogger

java.lang.Object
  extended by org.codehaus.mojo.animal_sniffer.maven.MavenLogger
All Implemented Interfaces:
Logger

public final class MavenLogger
extends Object
implements Logger

An animal sniffer logger that delegates to a maven log.

Since:
1.3
Author:
connollys

Constructor Summary
MavenLogger(org.apache.maven.plugin.logging.Log delegate)
           
 
Method Summary
 void debug(String message)
           
 void debug(String message, Throwable t)
           
 void error(String message)
           
 void error(String message, Throwable t)
           
 void info(String message)
           
 void info(String message, Throwable t)
           
 void warn(String message)
           
 void warn(String message, Throwable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenLogger

public MavenLogger(org.apache.maven.plugin.logging.Log delegate)
Method Detail

info

public void info(String message)
Specified by:
info in interface Logger

info

public void info(String message,
                 Throwable t)
Specified by:
info in interface Logger

debug

public void debug(String message)
Specified by:
debug in interface Logger

debug

public void debug(String message,
                  Throwable t)
Specified by:
debug in interface Logger

warn

public void warn(String message)
Specified by:
warn in interface Logger

warn

public void warn(String message,
                 Throwable t)
Specified by:
warn in interface Logger

error

public void error(String message)
Specified by:
error in interface Logger

error

public void error(String message,
                  Throwable t)
Specified by:
error in interface Logger


Copyright © 2008-2012 Codehaus. All Rights Reserved.