From cf38fe8f76cea3ccd292c14b78f2cc2bed9f4d8f Mon Sep 17 00:00:00 2001 From: Dat PHAM HOANG Date: Thu, 12 Dec 2024 18:56:29 +0700 Subject: [PATCH] [Encryption] Turn on verbose log level when enable log --- lib/config/app_config.dart | 1 + 1 file changed, 1 insertion(+) 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; } } }