[winston](https://www.npmjs.com/package/winston) is a great module for doing this.
winston is a great module for doing this.