diff --git a/pkg/logging/logger.go b/pkg/logging/logger.go index 26c6eb9..ff18ba9 100644 --- a/pkg/logging/logger.go +++ b/pkg/logging/logger.go @@ -37,7 +37,7 @@ func (l *Logger) Println(v ...interface{}) { fmt.Fprintln(l.file, nowStr, v) if l.toStdout { - fmt.Println(v) + fmt.Println(v...) } } @@ -67,7 +67,7 @@ func (l *Logger) Fatalln(v ...interface{}) { fmt.Fprintln(l.file, nowStr, v) if l.toStdout { - fmt.Println(v) + fmt.Println(v...) } l.file.Close()