com.googlecode.flyway.commandline
Class ConsoleLogCreator

java.lang.Object
  extended by com.googlecode.flyway.commandline.ConsoleLogCreator
All Implemented Interfaces:
com.googlecode.flyway.core.util.logging.LogCreator

public class ConsoleLogCreator
extends Object
implements com.googlecode.flyway.core.util.logging.LogCreator

Log Creator for the Command-Line console.


Constructor Summary
ConsoleLogCreator(boolean debug)
          Creates a new Console Log Creator.
 
Method Summary
 com.googlecode.flyway.core.util.logging.Log createLogger(Class<?> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleLogCreator

public ConsoleLogCreator(boolean debug)
Creates a new Console Log Creator.

Parameters:
debug - true for also printing debug statements, false for only info and higher.
Method Detail

createLogger

public com.googlecode.flyway.core.util.logging.Log createLogger(Class<?> clazz)
Specified by:
createLogger in interface com.googlecode.flyway.core.util.logging.LogCreator


Copyright © 2012. All Rights Reserved.