Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmer committed Feb 19, 2024
1 parent 38d467f commit 5445d77
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/utils/logger.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 -----------*/
Expand Down

0 comments on commit 5445d77

Please sign in to comment.