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

Initialise reqContext in middleware #149

Closed fromagnoli-sap closed 2 years ago

fromagnoli-sap commented 2 years ago

Problem: Logger.initContext is public and should not be exported. Solution: init context in middleware and save in Logger instance through constructor.