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
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner