From 25b9f2e26ae019b231da5655f04cb1fcdbe9e495 Mon Sep 17 00:00:00 2001 From: "kalle (jag)" Date: Fri, 11 Jun 2021 15:51:40 +0200 Subject: [PATCH] Added return names to logger.Interface.Trace (#4450) --- logger/logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logger/logger.go b/logger/logger.go index 381199d5..98d1b32e 100644 --- a/logger/logger.go +++ b/logger/logger.go @@ -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 (