maxbanton / cwh

Amazon Web Services CloudWatch Logs Handler for Monolog library
MIT License
417 stars 84 forks source link

Sort log entries chronologically before calling PutLogEvents. #70

Closed KiNgMaR closed 5 years ago

KiNgMaR commented 5 years ago

Bug fix.

See issues #32 and #69.

Chronological order of log entries is ensured before submission.

No.

The comparison logic is the fastest one still supported on PHP 5.6. The spaceship operator seems to be a little bit faster, but not available in PHP 5.

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-0.5%) to 91.586% when pulling 1890a23fe98664a67d88b89f31e0a4ff2f6afd7f on KiNgMaR:Sort-Before-Submission into f53e83ec6bd6cbdd7cbed8817a5b2d3ebcf278cd on maxbanton:master.

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-0.7%) to 91.388% when pulling 1890a23fe98664a67d88b89f31e0a4ff2f6afd7f on KiNgMaR:Sort-Before-Submission into f53e83ec6bd6cbdd7cbed8817a5b2d3ebcf278cd on maxbanton:master.