Gormrus is a library for integrating Logrus logger with Gorm
package main
import (
"github.com/jinzhu/gorm"
_ "github.com/go-sql-driver/mysql"
"github.com/o1egl/gormrus"
)
db, err = gorm.Open("mysql", "user:password@/dbname?charset=utf8&parseTime=True&loc=Local")
db.LogMode(true)
db.SetLogger(gormrus.New())
Gormrus is released under the MIT license. See LICENSE