Skip to content

Commit

Permalink
[BUGFIX] fix logging database
Browse files Browse the repository at this point in the history
  • Loading branch information
genofire committed Oct 7, 2018
1 parent 7b4e3ce commit 4031d82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/logging/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

0 comments on commit 4031d82

Please sign in to comment.