diff --git a/lib/config/app_config.dart b/lib/config/app_config.dart index 69a917b326..95a9616670 100644 --- a/lib/config/app_config.dart +++ b/lib/config/app_config.dart @@ -263,6 +263,7 @@ abstract class AppConfig { } if (json['enable_logs'] is bool) { DebugUtils.enableLogs = json['enable_logs']; + Logs().level = DebugUtils().isDebugMode ? Level.verbose : Level.warning; } } }