[BUGFIX] fix logging database

This commit is contained in:
Martin/Geno 2018-10-07 20:15:53 +02:00
parent 7b4e3ce221
commit 4031d82047
No known key found for this signature in database
GPG Key ID: 9D7D3C6BFF600C6A

View File

@ -64,6 +64,6 @@ func (conn *Connection) Close() {
} }
func (conn *Connection) log(v ...interface{}) { func (conn *Connection) log(v ...interface{}) {
log.Println(v) log.Println(v...)
conn.file.WriteString(fmt.Sprintln("[", time.Now().String(), "]", v)) conn.file.WriteString(fmt.Sprintln("[", time.Now().String(), "]", v))
} }