com.googlecode.flyway.maven
Class MavenLog

java.lang.Object
  extended by com.googlecode.flyway.maven.MavenLog
All Implemented Interfaces:
com.googlecode.flyway.core.util.logging.Log

public class MavenLog
extends Object
implements com.googlecode.flyway.core.util.logging.Log

Wrapper around a Maven Logger.


Constructor Summary
MavenLog(org.apache.maven.plugin.logging.Log logger)
          Creates a new wrapper around this logger.
 
Method Summary
 void debug(String message)
           
 void error(String message)
           
 void error(String message, Exception e)
           
 void info(String message)
           
 void warn(String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenLog

public MavenLog(org.apache.maven.plugin.logging.Log logger)
Creates a new wrapper around this logger.

Parameters:
logger - The original Maven Logger.
Method Detail

debug

public void debug(String message)
Specified by:
debug in interface com.googlecode.flyway.core.util.logging.Log

info

public void info(String message)
Specified by:
info in interface com.googlecode.flyway.core.util.logging.Log

warn

public void warn(String message)
Specified by:
warn in interface com.googlecode.flyway.core.util.logging.Log

error

public void error(String message)
Specified by:
error in interface com.googlecode.flyway.core.util.logging.Log

error

public void error(String message,
                  Exception e)
Specified by:
error in interface com.googlecode.flyway.core.util.logging.Log


Copyright © 2012. All Rights Reserved.