Skip to content

Commit

Permalink
Tweak Trace log format
Browse files Browse the repository at this point in the history
Co-authored-by: Andreas Möller <[email protected]>
Co-authored-by: Arne Blankerts <[email protected]>
  • Loading branch information
localheinz and theseer committed Jan 6, 2021
1 parent a9007b1 commit 3916f46
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Event/Tracer/TextFileLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,10 @@ private static function renderTelemetry(Info $telemetryInfo): string
$durationFormatter = new LogDurationFormatter();

return sprintf(
'[%s / %s] [%d Bytes / %d Bytes]',
'[%s / %s] [%d Bytes]',
$telemetryInfo->durationSinceStart()->asString($durationFormatter),
$telemetryInfo->durationSincePrevious()->asString($durationFormatter),
$telemetryInfo->memoryUsage()->bytes(),
$telemetryInfo->peakMemoryUsage()->bytes()
$telemetryInfo->memoryUsage()->bytes()
);
}
}

0 comments on commit 3916f46

Please sign in to comment.