mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
@@ -179,10 +179,11 @@ void main() async {
|
|||||||
Build Time: ${DateFormatUtils.format(BuildConfig.buildTime, format: DateFormatUtils.longFormatDs)}
|
Build Time: ${DateFormatUtils.format(BuildConfig.buildTime, format: DateFormatUtils.longFormatDs)}
|
||||||
Commit Hash: ${BuildConfig.commitHash}''',
|
Commit Hash: ${BuildConfig.commitHash}''',
|
||||||
};
|
};
|
||||||
|
final fileHandler = FileHandler(await LoggerUtils.getLogsPath());
|
||||||
final Catcher2Options debugConfig = Catcher2Options(
|
final Catcher2Options debugConfig = Catcher2Options(
|
||||||
SilentReportMode(),
|
SilentReportMode(),
|
||||||
[
|
[
|
||||||
FileHandler(await LoggerUtils.getLogsPath()),
|
fileHandler,
|
||||||
ConsoleHandler(
|
ConsoleHandler(
|
||||||
enableDeviceParameters: false,
|
enableDeviceParameters: false,
|
||||||
enableApplicationParameters: false,
|
enableApplicationParameters: false,
|
||||||
@@ -195,7 +196,7 @@ Commit Hash: ${BuildConfig.commitHash}''',
|
|||||||
final Catcher2Options releaseConfig = Catcher2Options(
|
final Catcher2Options releaseConfig = Catcher2Options(
|
||||||
SilentReportMode(),
|
SilentReportMode(),
|
||||||
[
|
[
|
||||||
FileHandler(await LoggerUtils.getLogsPath()),
|
fileHandler,
|
||||||
ConsoleHandler(enableCustomParameters: true),
|
ConsoleHandler(enableCustomParameters: true),
|
||||||
],
|
],
|
||||||
customParameters: customParameters,
|
customParameters: customParameters,
|
||||||
|
|||||||
Reference in New Issue
Block a user