Package org.apache.ibatis.logging
Class LogFactory
- java.lang.Object
-
- org.apache.ibatis.logging.LogFactory
-
public final class LogFactory extends Object
- Author:
- Clinton Begin, Eduardo Macarron
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Log
getLog(Class<?> clazz)
static Log
getLog(String logger)
static void
useCommonsLogging()
static void
useCustomLogging(Class<? extends Log> clazz)
static void
useJdkLogging()
static void
useLog4J2Logging()
static void
useLog4JLogging()
Deprecated.Since 3.5.9 - See https://github.com/mybatis/mybatis-3/issues/1223.static void
useNoLogging()
static void
useSlf4jLogging()
static void
useStdOutLogging()
-
-
-
Field Detail
-
MARKER
public static final String MARKER
Marker to be used by logging implementations that support markers.- See Also:
- Constant Field Values
-
-
Method Detail
-
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()
-
-