News for hackers. Stuff that matters.
Re:Gopher Wrangling. Effective error handling in Go by konart on Wednesday June 21, 2023 @01:40AM (#36414792)
I haven't seen a package that does not provide a way to inject a logger to be honest. I'd rather not use one or an least fork one if I'm out of options.
Re:Gopher Wrangling. Effective error handling in Go by janosdebugs on Wednesday June 21, 2023 @02:00AM (#36414932)
I ran into a fair few while developing Kubernetes stuff, unfortunately. Even so, you can still end up with a bunch of different loggers in your codebase because logger libraries can't even seem to agree what log levels to support and in what form.