SAP / cf-nodejs-logging-support

Node.js Logging Support for Cloud Foundry provides the creation of structured log messages and the collection of request metrics
https://sap.github.io/cf-nodejs-logging-support/
Apache License 2.0
43 stars 22 forks source link

Fix timing issue by adding global rollover check #64

Closed nicklas-dohrn closed 4 years ago

nicklas-dohrn commented 4 years ago

This change fixes the possibility of timestamps not beeing in the correct order due to asynchronous rollover times for process.hrtime() and Date.now(). This lead to timestamps sometimes beeing reported in the wrong order.