From e43b1ba9f7d8c0035dc50b36d507feb1f7ad1160 Mon Sep 17 00:00:00 2001 From: Chralu Date: Mon, 17 Jun 2024 10:44:36 +0200 Subject: [PATCH] Display Errors logs only in release mode. --- lib/util/logger.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/logger.dart b/lib/util/logger.dart index 3ae7b55ce..87a290099 100644 --- a/lib/util/logger.dart +++ b/lib/util/logger.dart @@ -11,7 +11,7 @@ class LoggerSetup { static LoggerSetup? _instance; Future setup() async { - Logger.root.level = kDebugMode ? Level.ALL : Level.INFO; + Logger.root.level = kDebugMode ? Level.ALL : Level.SEVERE; /// Note : When in debug mode, logs are displayed /// in debug console. There is no need to register log listeners.