
Bob Logblaw Log Blog
Go Time: Golang, Software Engineering
Using Log Lines in Test Driven Development
I'm imagining some of your scenarios are writing logs to like help debug stuff. And I can imagine that those ones, yeah, over time, stop adding value. Like once you have tests and everything, you know, it's all working. It's kind of like, is that running every single time that function runs really adding value? Whereas like other parts of it definitely could be. Yeah, I tend to do that for marking bits, just that it reached it. So that's probably why I go through and remove the log statements. But also if I'm doing test driven development, I will tend to log a bit less really,. Unless there's specific kind of tricky behavior, something
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.