feature(mobile): configurable log level (#2248)

* feature(mobile): configurable log level

* increase maxLogEntries to 500

---------

Co-authored-by: Fynn Petersen-Frey <zoodyy@users.noreply.github.com>
This commit is contained in:
Fynn Petersen-Frey
2023-04-14 15:50:46 +02:00
committed by GitHub
parent 4952b3a2d6
commit d500ef77cf
6 changed files with 73 additions and 17 deletions

View File

@@ -43,17 +43,14 @@ enum AppSettingsEnum<T> {
"selectedAlbumSortOrder",
0,
),
advancedTroubleshooting<bool>(
StoreKey.advancedTroubleshooting,
"advancedTroubleshooting",
false,
),
advancedTroubleshooting<bool>(StoreKey.advancedTroubleshooting, null, false),
logLevel<int>(StoreKey.logLevel, null, 5) // Level.INFO = 5
;
const AppSettingsEnum(this.storeKey, this.hiveKey, this.defaultValue);
final StoreKey<T> storeKey;
final String hiveKey;
final String? hiveKey;
final T defaultValue;
}