Tuesday, 1 May, 2018 UTC


Winston is a popular logging library for NodeJS which allows you to customise the output, as well as different logging targets. This lesson covers configuring Winston to run with different levels depending on a Node environment variable as well as enhancing the log output to include the filename and line number the log message originates from.