2min chapter

Go Time: Golang, Software Engineering cover image

Design philosophy

Go Time: Golang, Software Engineering

CHAPTER

Why You Shouldn't Log?

You can't use a singleton, not even the one in the standard library. You have to pass a logger everywhere in the opt that you want a log why? So when i look at that p r and i see you change the function signature, or you change that type to now take a logger, i can pause and go, i see now they want o log. We even allow to log in this layer? Oh, we are. What are they logging? Is that signal? Is that noise? What's going on? Like i don't believe in logging levels. I have never, in 30 years, been able to turn a logging level up fast enough in production for it

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