- wrapper of zap
- wrapper of logrus
- middleware tracing log
Please make sure to initialize a Go module before installing core-go/log:
go get -u github.com/core-go/log
Import:
import "github.com/core-go/log"
middleware log for
- http
- echo
- gin
- request
- response
- duration
- http response status code
- response content length
- support to mask or encrypt fields, such as mobileNumber, creditCardNumber