stack_wallet/lib/utilities/enums/log_level_enum.dart

14 lines
300 B
Dart
Raw Normal View History

2022-08-26 08:11:35 +00:00
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;
}