javascript - node.js / io.js - How can I consistently log a request's flow considering domains are being deprecated? -
i've been using domains add request id
logs. convenient because means don't have pass request object everywhere, can still see request context db query ran in, , can follow process each request goes throw regardless of layers in code accessed.
since domains being deprecated, alternatives preserving capability ?
thanks
Comments
Post a Comment