Add Logging to a Node.js Application using Winston

InstructorMark Barton

Share this video with your friends

Send Tweet

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.