com.googlecode.flyway.ant
Class AntLog

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

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

Wrapper around an Ant Logger.


Constructor Summary
AntLog(org.apache.tools.ant.Project antProject)
          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

AntLog

public AntLog(org.apache.tools.ant.Project antProject)
Creates a new wrapper around this logger.

Parameters:
antProject - The Ant project to log for.
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.