4 ms·
Agreed, we append a logging function to the request context and inject it where needed. With async/await it actually isnt too unwieldily, though it was a bit mo
by dadschool 8y ago
Agreed, we append a logging function to the request context and inject it where needed. With async/await it actually isnt too unwieldily, though it was a bit more intrusive with promises. I think a lot of guys from multithreaded backgrounds (in my case java) often struggle with this approach because looks like such an anti-pattern for them.