kcusaac / glogger

generic logger interface for go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

generic logger interface for go

License:MIT License


Languages

Language:Go 100.0%