From 0459aa89db56408f397502dac26693ebfa5e38c1 Mon Sep 17 00:00:00 2001 From: Jinzhu Date: Wed, 22 Jan 2014 09:05:43 +0800 Subject: [PATCH] Don't use goroutine to print log --- private.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/private.go b/private.go index 84f0cd9d..c107c371 100644 --- a/private.go +++ b/private.go @@ -66,7 +66,7 @@ func fileWithLineNum() string { } 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{}) {