From d88ffb11277f4340ed8be234c221cb2123fb2630 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Tue, 2 Dec 2025 13:43:02 +0800 Subject: [PATCH] tweak Signed-off-by: bggRGjQaUbCoE --- lib/main.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index c44aa892a..b74c730a4 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -179,10 +179,11 @@ void main() async { Build Time: ${DateFormatUtils.format(BuildConfig.buildTime, format: DateFormatUtils.longFormatDs)} Commit Hash: ${BuildConfig.commitHash}''', }; + final fileHandler = FileHandler(await LoggerUtils.getLogsPath()); final Catcher2Options debugConfig = Catcher2Options( SilentReportMode(), [ - FileHandler(await LoggerUtils.getLogsPath()), + fileHandler, ConsoleHandler( enableDeviceParameters: false, enableApplicationParameters: false, @@ -195,7 +196,7 @@ Commit Hash: ${BuildConfig.commitHash}''', final Catcher2Options releaseConfig = Catcher2Options( SilentReportMode(), [ - FileHandler(await LoggerUtils.getLogsPath()), + fileHandler, ConsoleHandler(enableCustomParameters: true), ], customParameters: customParameters,