liquibase.logging
Class LogFactory

java.lang.Object
  extended by liquibase.logging.LogFactory
Direct Known Subclasses:
AntTaskLogFactory

public class LogFactory
extends Object


Constructor Summary
LogFactory()
           
 
Method Summary
static LogFactory getInstance()
           
 Logger getLog()
           
 Logger getLog(String name)
           
static Logger getLogger()
          Deprecated. Use non-static getLog() method
static Logger getLogger(String name)
          Deprecated. Use non-static getLog(String) method
static void reset()
           
 void setDefaultLoggingLevel(LogLevel defaultLoggingLevel)
           
 void setDefaultLoggingLevel(String defaultLoggingLevel)
           
static void setInstance(LogFactory instance)
          Set the instance used by this singleton.
static void setLoggingLevel(String defaultLoggingLevel)
          Deprecated. Use non-static setDefaultLoggingLevel(String) method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogFactory

public LogFactory()
Method Detail

reset

public static void reset()

getInstance

public static LogFactory getInstance()

setInstance

public static void setInstance(LogFactory instance)
Set the instance used by this singleton. Used primarily for testing.


getLogger

public static Logger getLogger(String name)
Deprecated. Use non-static getLog(String) method


getLog

public Logger getLog(String name)

getLogger

public static Logger getLogger()
Deprecated. Use non-static getLog() method


getLog

public Logger getLog()

setDefaultLoggingLevel

public void setDefaultLoggingLevel(String defaultLoggingLevel)

setDefaultLoggingLevel

public void setDefaultLoggingLevel(LogLevel defaultLoggingLevel)

setLoggingLevel

public static void setLoggingLevel(String defaultLoggingLevel)
Deprecated. Use non-static setDefaultLoggingLevel(String) method



Copyright © 2016 Liquibase.org. All rights reserved.