private static DSFactory doCreate(Setting setting) {
		try {
			return new HikariDSFactory(setting);
		} catch (NoClassDefFoundError e) {
			// ignore
		}
		try {
			return new DruidDSFactory(setting);
		} catch (NoClassDefFoundError e) {
			// ignore
		}
		try {
			return new TomcatDSFactory(setting);
		} catch (NoClassDefFoundError e) {
			//如果未引入包，此处会报org.apache.tomcat.jdbc.pool.PoolConfiguration未找到错误
			//因为org.apache.tomcat.jdbc.pool.DataSource实现了此接口，会首先检查接口的存在与否
			// ignore
		}
		try {
			return new DbcpDSFactory(setting);
		} catch (NoClassDefFoundError e) {
			// ignore
		}
		try {
			return new C3p0DSFactory(setting);
		} catch (NoClassDefFoundError e) {
			// ignore
		}
		return new PooledDSFactory(setting);
	}
private static DSFactory doCreate ( Setting setting ) { try { return new HikariDSFactory ( setting ) ; } catch ( NoClassDefFoundError e ) { } try { return new DruidDSFactory ( setting ) ; } catch ( NoClassDefFoundError e ) { } try { return new TomcatDSFactory ( setting ) ; } catch ( NoClassDefFoundError e ) { } try { return new DbcpDSFactory ( setting ) ; } catch ( NoClassDefFoundError e ) { } try { return new C3p0DSFactory ( setting ) ; } catch ( NoClassDefFoundError e ) { } return new PooledDSFactory ( setting ) ; }
创建数据源实现工厂<br>
此方法通过“试错”方式查找引入项目的连接池库，按照优先级寻找，一旦寻找到则创建对应的数据源工厂<br>
连接池优先级：Hikari > Druid > Tomcat > Dbcp > C3p0 > Hutool Pooled

@return 日志实现类
@since 4.1.3