A Generic Go Logging Interface
Other language:
中文
This is a generic Go logging interface. The purpose is to support different logging libraries and avoid to lock-in into specific logging implementation. It doesn't necessarily include all functionality for logging service, but only the ones I need. You can easily expand it to add new ones. Currently, it has implementation for ZAP and Logrus. You can add implementation for other Messaging service like "glog".
For examples on how to use it in real project, please take a look at "Order" or "Payment"
Download Code
go get github.com/jfeng45/glogger
License
MIT License