You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm exploring my options for logging our http requests and responses in our services and thought about the idea of passing a logger to an http client to ensure that their all logged. The idea would be something like below. I realize that it's not the responsibility of the client to do the logging, but if I kind of like the idea of passing a logger in t to the bidding for me.
I'm exploring my options for logging our http requests and responses in our services and thought about the idea of passing a logger to an http client to ensure that their all logged. The idea would be something like below. I realize that it's not the responsibility of the client to do the logging, but if I kind of like the idea of passing a logger in t to the bidding for me.
I know Bunyan has serializers for req's and res's to help handle this.
https://www.npmjs.com/package/bunyan#recommendedbest-practice-fields
or
The text was updated successfully, but these errors were encountered: