Go ProSign in

This Lesson is for Members

Subscribe today and get access to all lessons! Plus direct HD download for offline use, enhances transcripts, member comment forums, and iTunes "podcast" RSS feed. Level up your skills now!

Unlock This Lesson

Already subscribed? Sign In

Hide playlist

    Add Logging to a Node.js Application using Winston

    Mark BartonMark Barton

    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.

    You must be a Member to view code