logger-app
logger-app copied to clipboard
Using this logger also in the bootstrap
Hey! First of all great tutorial, really appreciated! I'm trying to implement a custom logger (wrapping winston) for my new web application... my wish is to use the same logger (or something similar) also in the bootstrapping of the application: is there a way to do that (delaying the logs themselves or re-initializing the logger?) I don't like a lot the fact that I have to instantiate the "Main Logger" and then another logger for the App Module, that is the same for the rest of the application... but probably I'm wrong and it's the only way / a best practice I'm missing...
Thanks a lot Niccolò