From c4bf07cd98b9c47ac62df4eb570de0a8fa7e7283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=B9=BF?= Date: Mon, 23 Jan 2023 11:48:03 +0800 Subject: [PATCH] fix --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index b63fbe9..68a8865 100644 --- a/main.go +++ b/main.go @@ -41,7 +41,7 @@ var defaultLogger = &LogConfig{ Appender: consoleAppender, } -func (l *Logger) log(Level int, msg ...interface{}) { +func (l *Logger) log(Level int, msg []interface{}) { if Level <= l.Level { now := time.Now()