Skip to content

Commit

Permalink
Log events order precision increased (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbanton committed Mar 26, 2018
1 parent 2ea27d2 commit 9519477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Handler/CloudWatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ private function formatRecord(array $entry)
{
return [
'message' => $entry['formatted'],
'timestamp' => $entry['datetime']->format('U.u') * 1000
'timestamp' => floatval(substr_replace($entry['datetime']->format('Uu'), '.', -4, 0))
];
}

Expand Down

0 comments on commit 9519477

Please sign in to comment.