Implementing logging with metadata | Pure DI in TypeScript Node.js
In the previous tutorial, I've shown how to implement a RequestId feature using AsyncLocalStorage.
Here, we will extend the functionality of our app by adding Logger with metadata.
I will use the repo as starting point.
Logger
Why not use console.*...
blog.vady.dev5 min read