zapgorm Zap logging driver for gorm 1. If you're using gorm v2, please go to https://github.com/moul/zapgorm2 Usage import "moul.io/zapgorm" db, _ := gorm.Open("sqlite3", "./db.sqlite") db.SetLogger(zapgorm.New(zap.L().Named("gorm"))) db.LogMode(true) Examples in the wild https://github.com/moul/depviz https://github.com/pathwar/pathwar https://akatsuki-chan/go-sample add your repo here