Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-02 13:43:02 +08:00
parent f05b901009
commit d88ffb1127

View File

@@ -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,