Don't use goroutine to print log

This commit is contained in:
Jinzhu 2014-01-22 09:05:43 +08:00
parent 71e7b37bdf
commit 0459aa89db
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ func fileWithLineNum() string {
} }
func (s *DB) print(v ...interface{}) { func (s *DB) print(v ...interface{}) {
go s.parent.logger.(logger).Print(v...) s.parent.logger.(logger).Print(v...)
} }
func (s *DB) log(v ...interface{}) { func (s *DB) log(v ...interface{}) {