List of usage examples for org.apache.ibatis.logging LogFactory useCustomLogging
public static synchronized void useCustomLogging(Class<? extends Log> clazz)
From source file:com.dmm.framework.basedb.apache.ibatis.session.Configuration.java
License:Apache License
@SuppressWarnings("unchecked") public void setLogImpl(Class<?> logImpl) { if (logImpl != null) { this.logImpl = (Class<? extends Log>) logImpl; LogFactory.useCustomLogging(this.logImpl); }/*from w w w .j a v a2s . c om*/ }
From source file:org.yx.sumk.batis.MybatisLog.java
License:Apache License
public static void enableMybatisLog() { LogFactory.useCustomLogging(MybatisLog.class); }