From 84f52fd7acf5343579c4185e483e0e2ca6956556 Mon Sep 17 00:00:00 2001 From: dy1006 <34502305+dy1006@users.noreply.github.com> Date: Mon, 31 Aug 2020 14:18:55 +0800 Subject: [PATCH] Update log.go (#1976) change nlog.DefaultLogger.Log to nlog.DefaultLogger.Logf in the Logf function --- util/log/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/log/log.go b/util/log/log.go index e86a757b..feaad059 100644 --- a/util/log/log.go +++ b/util/log/log.go @@ -117,7 +117,7 @@ func Logf(format string, v ...interface{}) { if len(prefix) > 0 { format = prefix + " " + format } - nlog.DefaultLogger.Log(levelToLevel(level), format, v) + nlog.DefaultLogger.Logf(levelToLevel(level), format, v) } // WithLevel logs with the level specified