private Level toTinyLevel(cn.hutool.log.level.Level level) {
		Level tinyLevel;
		switch (level) {
		case TRACE:
			tinyLevel = Level.TRACE;
			break;
		case DEBUG:
			tinyLevel = Level.DEBUG;
			break;
		case INFO:
			tinyLevel = Level.INFO;
			break;
		case WARN:
			tinyLevel = Level.WARNING;
			break;
		case ERROR:
			tinyLevel = Level.ERROR;
			break;
		case OFF:
			tinyLevel = Level.OFF;
			break;
		default:
			throw new Error(StrUtil.format("Can not identify level: {}", level));
		}
		return tinyLevel;
	}
private Level toTinyLevel ( cn . hutool . log . level . Level level ) { Level tinyLevel ; switch ( level ) { case TRACE : tinyLevel = Level . TRACE ; break ; case DEBUG : tinyLevel = Level . DEBUG ; break ; case INFO : tinyLevel = Level . INFO ; break ; case WARN : tinyLevel = Level . WARNING ; break ; case ERROR : tinyLevel = Level . ERROR ; break ; case OFF : tinyLevel = Level . OFF ; break ; default : throw new Error ( StrUtil . format ( "Can not identify level: {}" , level ) ) ; } return tinyLevel ; }
将Hutool的Level等级转换为Tinylog的Level等级

@param level Hutool的Level等级
@return Tinylog的Level
@since 4.0.3