Closed Gregoirevda closed 5 years ago
Currently we cannot add the body in the response with responseWhitelist: expressWinston.responseWhitelist.concat('body'), because _header is deprecated and crashed the app. This PR goes from _header property to getHeader function
responseWhitelist: expressWinston.responseWhitelist.concat('body')
_header
getHeader
https://nodejs.org/api/http.html#http_request_getheader_name
@Gregoirevda Feel free to add yourself to AUTHORS.
Thanks @bithavoc. Could you publish on npm please?
express-winston@3.2.0 🚀
express-winston@3.2.0
Thank you
Currently we cannot add the body in the response with
responseWhitelist: expressWinston.responseWhitelist.concat('body')
, because_header
is deprecated and crashed the app. This PR goes from_header
property togetHeader
functionhttps://nodejs.org/api/http.html#http_request_getheader_name