com.googlecode.flyway.commandline
Class ConsoleLog
java.lang.Object
com.googlecode.flyway.commandline.ConsoleLog
- All Implemented Interfaces:
- com.googlecode.flyway.core.util.logging.Log
public class ConsoleLog
- extends Object
- implements com.googlecode.flyway.core.util.logging.Log
Wrapper around a simple Console output.
|
Constructor Summary |
ConsoleLog(boolean debug)
Creates a new Console Log. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsoleLog
public ConsoleLog(boolean debug)
- Creates a new Console Log.
- Parameters:
debug - true for also printing debug statements, false for only info and higher.
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.