2min chapter

JS Party: JavaScript, CSS, Web Development cover image

JS logging & error handling

JS Party: JavaScript, CSS, Web Development

CHAPTER

Do You Use Debug for Logging?

We use de bug for logging because it's the same thing that next uses and all our other stuff, and n p m uses. So we're just kind of like stuck with that, unless we want to create another de bug equivalent, which we don't. We do use some more sort of, like structured logging for specific events we need to do analytics on or querying. But those are actually needed for correctness, because we have to sometimes replay a web hook,. If it crashed in the middle, or the gethubapi timed out, or whatever, right? Then we have to retry it. And probably at some point in the future we probably need to visit this andy

00:00

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