code: public static void setShowSqlGlobal(Setting setting) {
  		// 初始化SQL显示
  		final boolean isShowSql = Convert.toBool(setting.remove("showSql"), false);
  		final boolean isFormatSql = Convert.toBool(setting.remove("formatSql"), false);
  		final boolean isShowParams = Convert.toBool(setting.remove("showParams"), false);
  		String sqlLevelStr = setting.remove("sqlLevel");
  		if (null != sqlLevelStr) {
  			sqlLevelStr = sqlLevelStr.toUpperCase();
  		}
  		final Level level = Convert.toEnum(Level.class, sqlLevelStr, Level.DEBUG);
  		log.debug("Show sql: [{}], format sql: [{}], show params: [{}], level: [{}]", isShowSql, isFormatSql, isShowParams, level);
  		setShowSqlGlobal(isShowSql, isFormatSql, isShowParams, level);
  	}
docs: 从配置文件中读取SQL打印选项
  @param setting 配置文件
  @since 4.1.7