Re:Show HN: Simple logger and debugger for Go programs
by pbnjay on Sunday September 28, 2014 @07:46PM
(#8381209)
That's pretty interesting too, I'm going to play with it. Thanks!
I recently stumbled across the standard expvar package[1] which lets me debug memory usage and annotated metrics. Similar concept from a different angle I guess.
You might want to check out the logrus package - which I'm using and pretty happy with. https://github.com/sirupsen/logrus
Logrus lets you add structured k,v fields so you do have to mess around with fmt and also has hooks to support things like sending logs to syslog or remote exception handling services.