From 2d206076f88c1f9a85f4bd353cdfca8e4000896d Mon Sep 17 00:00:00 2001 From: Tony Chen Date: Tue, 16 Aug 2022 22:54:55 +0800 Subject: [PATCH] fix logger caller depth (#2283) --- log/global.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/log/global.go b/log/global.go index 624fccb39..f1984fc3f 100644 --- a/log/global.go +++ b/log/global.go @@ -27,10 +27,6 @@ func (a *loggerAppliance) SetLogger(in Logger) { a.Logger = in } -func (a *loggerAppliance) Log(level Level, keyvals ...interface{}) error { - return a.Logger.Log(level, keyvals...) -} - // SetLogger should be called before any other log call. // And it is NOT THREAD SAFE. func SetLogger(logger Logger) {