Closed davidgwking closed 10 years ago
I implemented a logging prototype by wrapping go-logging, which all in all looked to be the better library.
Still open to alternatives as that was primarily explorative work.
I'm happy with the bootstrapping so far.
If more work is required, further issues can be opened.
Go's native error type leaves much to be desired, so I suggest we use a library to capture nice things like stack traces. I've briefly used https://github.com/jsimnz/errgo, and found it to be a huge improvement over native errors.
Logging because logging.
Here's some logging libs that I've found but haven't researched beyond the superficial scan of github: https://github.com/op/go-logging (appears well featured and documented) https://github.com/cihub/seelog (appears well featured) https://github.com/golang/glog (used this a couple of weeks ago. very bare bones.)