Add logger from https://github.com/winstonjs/winston
Log all important parts of the app that you consider to be important.
Remember to use different log types where appropriate: log.info() | log.debug() | log.error().
Use two log transports:
Console transport
File transports (logs messages to the same directory in the combined.log file)
Add logger from https://github.com/winstonjs/winston Log all important parts of the app that you consider to be important. Remember to use different log types where appropriate:
log.info() | log.debug() | log.error()
.Use two log transports: