1
0

Added missing ... operator.

This commit is contained in:
Alexander Andreev 2022-03-29 18:15:06 +04:00
parent 1fbdcae68a
commit 6189ddd48d
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F

View File

@ -37,7 +37,7 @@ func (l *Logger) Println(v ...interface{}) {
fmt.Fprintln(l.file, nowStr, v) fmt.Fprintln(l.file, nowStr, v)
if l.toStdout { 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) fmt.Fprintln(l.file, nowStr, v)
if l.toStdout { if l.toStdout {
fmt.Println(v) fmt.Println(v...)
} }
l.file.Close() l.file.Close()