Package org.apache.ibatis.logging
Class LogFactory
- java.lang.Object
-
- org.apache.ibatis.logging.LogFactory
-
public final class LogFactory extends java.lang.Object
- Author:
- Clinton Begin, Eduardo Macarron
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MARKER
Marker to be used by logging implementations that support markers.
-
Method Summary
Modifier and Type Method Description static Log
getLog(java.lang.Class<?> aClass)
static Log
getLog(java.lang.String logger)
static void
useCommonsLogging()
static void
useCustomLogging(java.lang.Class<? extends Log> clazz)
static void
useJdkLogging()
static void
useLog4J2Logging()
static void
useLog4JLogging()
static void
useNoLogging()
static void
useSlf4jLogging()
static void
useStdOutLogging()
-
-
-
Field Detail
-
MARKER
public static final java.lang.String MARKER
Marker to be used by logging implementations that support markers.- See Also:
- Constant Field Values
-
-
Method Detail
-
getLog
public static Log getLog(java.lang.Class<?> aClass)
-
getLog
public static Log getLog(java.lang.String logger)
-
useCustomLogging
public static void useCustomLogging(java.lang.Class<? extends Log> clazz)
-
useSlf4jLogging
public static void useSlf4jLogging()
-
useCommonsLogging
public static void useCommonsLogging()
-
useLog4JLogging
public static void useLog4JLogging()
-
useLog4J2Logging
public static void useLog4J2Logging()
-
useJdkLogging
public static void useJdkLogging()
-
useStdOutLogging
public static void useStdOutLogging()
-
useNoLogging
public static void useNoLogging()
-
-