From 5445d775b7ca375588bdb43527a7be2e6767648e Mon Sep 17 00:00:00 2001 From: Frank Merkel <138444693+frankmer@users.noreply.github.com> Date: Mon, 19 Feb 2024 16:49:50 +0100 Subject: [PATCH] . --- lib/utils/logger.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/utils/logger.dart b/lib/utils/logger.dart index b7e3ba419..c3b480f81 100644 --- a/lib/utils/logger.dart +++ b/lib/utils/logger.dart @@ -279,7 +279,10 @@ Device Parameters $deviceInfo"""; static void _printError(String? message, {dynamic error, StackTrace? stackTrace, String? name}) { if (!kDebugMode) return; - print.e(message, error: error, stackTrace: stackTrace); + var message0 = DateTime.now().toString(); + message0 += name != null ? ' [$name]\n' : '\n'; + message0 += message ?? ''; + print.e(message0, error: error, stackTrace: stackTrace); } /*----------- DISPLAY OUTPUTS -----------*/