1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Add Logging to a Node.js Application using Winston

    nodeNode.js

    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.