forked from mirror/gorm
Added return names to logger.Interface.Trace (#4450)
This commit is contained in:
parent
a0bddccfe1
commit
25b9f2e26a
|
@ -58,7 +58,7 @@ type Interface interface {
|
|||
Info(context.Context, string, ...interface{})
|
||||
Warn(context.Context, string, ...interface{})
|
||||
Error(context.Context, string, ...interface{})
|
||||
Trace(ctx context.Context, begin time.Time, fc func() (string, int64), err error)
|
||||
Trace(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error)
|
||||
}
|
||||
|
||||
var (
|
||||
|
|
Loading…
Reference in New Issue