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()