A logger based on Zap
go get github.com/goer-project/goer-utils
l := logger.NewChannel(&logger.Channel{ Path: "/your-path/log.log", Level: "debug", Days: 14, Console: true, Format: "json", }) l.Info("This is a log.")