@SuppressWarnings("unchecked")
  public void setLogImpl(Class<?> logImpl) {
    if (logImpl != null) {
      this.logImpl = (Class<? extends Log>) logImpl;
      LogFactory.useCustomLogging(this.logImpl);
    }
  }
Configuration factory class.
Used to create Configuration for loading deserialized unread properties.

@see <a href='https://code.google.com/p/mybatis/issues/detail?id=300'>Issue 300</a> (google code)
src/main/java/org/apache/ibatis/session/Configuration.java