From 4031d820479d668827830909e9c15024b34d95b4 Mon Sep 17 00:00:00 2001 From: Martin/Geno Date: Sun, 7 Oct 2018 20:15:53 +0200 Subject: [PATCH] [BUGFIX] fix logging database --- database/logging/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/logging/file.go b/database/logging/file.go index e086d0f..2514e54 100644 --- a/database/logging/file.go +++ b/database/logging/file.go @@ -64,6 +64,6 @@ func (conn *Connection) Close() { } func (conn *Connection) log(v ...interface{}) { - log.Println(v) + log.Println(v...) conn.file.WriteString(fmt.Sprintln("[", time.Now().String(), "]", v)) }