mirror of https://github.com/go-gorm/gorm.git
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