static LogLevel fromName(String name) => LogLevel.values.firstWhere((element) => element.name == name);