Posts made by jfstgermain
How is the winston logger accessible?
The documentation is doing a great job at describing how to configure winston for logging but I can't seem to find information on how to access the logger instance, especially in scripts. I see
req.reporter.loggerin some repo code but this won't work. I tried adding the logger to the global scope, but the
globalvariable is not exposed in scripts. Please enlighten me, also adding this information to the docs would be greatly helpful.