Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 198 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 198 Bytes

gormzap

Gorm adapter for zap logger

Usage

Example of usage:

import "github.com/dn-l/gormzap"

db, err := gorm.Open(mysql.Open(dsn), &gorm.Config{Logger: gormzap.New(logger)})