diff --git a/README.md b/README.md index 90af1e9..a7a52e1 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,6 @@ logger := gormzerolog.NewGormLogger().WithInfo(func() gormzerolog.Event { }) db, err := gorm.Open(sqlite.Open(":memory:"), &gorm.Config{ - Logger: gormzerolog.NewGormLogger() + Logger: logger, }) ```