Added return names to logger.Interface.Trace

This commit is contained in:
Kalle Jillheden 2021-06-09 18:02:27 +02:00
parent 00b252559f
commit 9975be0604
No known key found for this signature in database
GPG Key ID: A127A9772AFF497D

View File

@ -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 (