static LogLevel getByValue(int value) { return LogLevel.values.firstWhere((x) => x.value == value); }