From e4cc613c681ec5391d801bd1d161ad9a3f95c7d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chuazhongming=E2=80=9D?= Date: Mon, 9 Dec 2024 21:52:41 +0800 Subject: [PATCH] Fix golint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: “huazhongming” --- kit/logger/logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kit/logger/logger.go b/kit/logger/logger.go index 1ee180cba4..6381899419 100644 --- a/kit/logger/logger.go +++ b/kit/logger/logger.go @@ -176,7 +176,7 @@ func ToLogPriority(level LogLevel) int { } // NewLayottoLogger creates new Logger instance. -func NewLayottoLogger(name string) *layottoLogger { +func NewLayottoLogger(name string) Logger { ll := &layottoLogger{ name: name, logLevel: defaultLoggerLevel,