[BUGFIX] fix logging database
This commit is contained in:
parent
7b4e3ce221
commit
4031d82047
|
@ -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))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue