stack_wallet/lib/utilities/enums/log_level_enum.dart
2022-08-26 16:11:35 +08:00

13 lines
300 B
Dart

import 'package:isar/isar.dart';
// Used in Isar db and stored there as int indexes so adding/removing values
// in this definition should be done extremely carefully in production
enum LogLevel with IsarEnum<String> {
Info,
Warning,
Error,
Fatal;
@override
String get value => name;
}