Class LogFactory

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

public final class LogFactory extends Object
Author:
Clinton Begin, Eduardo Macarron
  • Field Details

    • MARKER

      public static final String MARKER
      Marker to be used by logging implementations that support markers.
      See Also:
  • Method Details

    • getLog

      public static Log getLog(Class<?> clazz)
    • getLog

      public static Log getLog(String logger)
    • useCustomLogging

      public static void useCustomLogging(Class<? extends Log> clazz)
    • useSlf4jLogging

      public static void useSlf4jLogging()
    • useCommonsLogging

      public static void useCommonsLogging()
    • useLog4JLogging

      @Deprecated public static void useLog4JLogging()
      Deprecated.
      Since 3.5.9 - See https://github.com/mybatis/mybatis-3/issues/1223. This method will remove future.
    • useLog4J2Logging

      public static void useLog4J2Logging()
    • useJdkLogging

      public static void useJdkLogging()
    • useStdOutLogging

      public static void useStdOutLogging()
    • useNoLogging

      public static void useNoLogging()