Go Time: Golang, Software Engineering cover image

Bob Logblaw Log Blog

Go Time: Golang, Software Engineering

00:00

Using a Logger in a Distributed System?

Go's context is very useful for like user ID maybe and you know, the host name. And that gets passed into the the logger when you write call a log line, the first arguments of context. I wish go went one step farther here. It would be nice if functions that you called so like, you know, with timeout or with whatever could take a string that would just print in whatever error block ultimately catches that context being canceled.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app