DEV Community

Discussion on: NodeJS logging, from beginner to expert.

Collapse
 
khuongduybui profile image
Duy K. Bui

bunyan has a different but equally useful approach to logging. I highly recommend it especially if you push your logs to CloudWatch and want to use CloudWatch Insights.

Collapse
 
gkoniaris profile image
George Koniaris

What I like really about bunyan, although I usually use winston, is that it separates the logic of saving logs from the logic of formating logs. So you can have raw JSON logs that can be streamed anywhere, but at the same time, you can just pipe the logs to the bunyan CLI and get a nice, colored, human-readable output.