org.apache.ibatis.logging
Class LogFactory

java.lang.Object
  extended by org.apache.ibatis.logging.LogFactory

public final class LogFactory
extends Object


Field Summary
static String GLOBAL_LOGGER_NAME
          Name for the global logger.
 
Method Summary
static Log getLog(Class<?> aClass)
           
static Log getLog(String logger)
           
static void useCommonsLogging()
           
static void useJdkLogging()
           
static void useLog4JLogging()
           
static void useNoLogging()
           
static void useSlf4jLogging()
           
static void useStdOutLogging()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GLOBAL_LOGGER_NAME

public static final String GLOBAL_LOGGER_NAME
Name for the global logger. Reference java.util.Logger.GLOBAL_LOGGER_NAME directly once we drop JDK 5 compatibility.

See Also:
Constant Field Values
Method Detail

getLog

public static Log getLog(Class<?> aClass)

getLog

public static Log getLog(String logger)

useSlf4jLogging

public static void useSlf4jLogging()

useCommonsLogging

public static void useCommonsLogging()

useLog4JLogging

public static void useLog4JLogging()

useJdkLogging

public static void useJdkLogging()

useStdOutLogging

public static void useStdOutLogging()

useNoLogging

public static void useNoLogging()


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.