com.googlecode.flyway.ant
Class AntLog
java.lang.Object
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AntLog
public AntLog(org.apache.tools.ant.Project antProject)
- Creates a new wrapper around this logger.
- Parameters:
antProject - The Ant project to log for.
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.