Syntax - Tasty Web Development Treats cover image

Logging

Syntax - Tasty Web Development Treats

Is There a Level of Informational Logging in Production?

3min Snip

00:00
Play full episode
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.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode