You can set different levels of logging it goes from like error warning all the way up to verbose and silly where you'd literally log absolutely everything. Anything that you console log will also be included in the breadcrumbs which I found is very helpful because you can see what's going on at a glance. You know your site probably shouldn't be outputting too many things to the client in production unless you're trying to have fun with it but you gotta kind of remove some of that stuff.
In this Hasty Treat, Scott and Wes talk about the reasons why you should log errors, how it’s not just for debugging, where to save logs, and apps and packages to help with logging.
Sentry - Sponsor
If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.
Show Notes
Tweet us your tasty treats