Package zlog provides simple, structured, leveled and rolling logger, based on go.uber.org/zap
.
To install zlog
package, you need to install Go and set your Go workspace first.
-
The first need Go installed (version 1.13+ is required), then you can use the below Go command to install
zlog
.go get -u github.com/mulinbc/zlog
-
Import it in your code:
import "github.com/mulinbc/zlog"