forked from mirror/gorm
Don't use goroutine to print log
This commit is contained in:
parent
71e7b37bdf
commit
0459aa89db
|
@ -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{}) {
|
||||||
|
|
Loading…
Reference in New Issue