From c2bb6b30688f0277d5f8d77576bbee4e882a9afe Mon Sep 17 00:00:00 2001 From: eXthen Date: Thu, 25 Jul 2013 18:57:40 +0800 Subject: [PATCH 1/2] Update log.go --- log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log.go b/log.go index ef3bc958..cd0af2d4 100644 --- a/log.go +++ b/log.go @@ -32,7 +32,7 @@ type FileLogWriter struct { rotate bool - startLock sync.Mutex //only one log can writer to the file + startLock sync.Mutex //only one log can write to the file } type MuxWriter struct { From ff11bcdb7c1c0d80b394f5a56aa806d1c7bea026 Mon Sep 17 00:00:00 2001 From: eXthen Date: Thu, 25 Jul 2013 19:04:26 +0800 Subject: [PATCH 2/2] I guess write would be better --- log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log.go b/log.go index cd0af2d4..7e0e84b2 100644 --- a/log.go +++ b/log.go @@ -32,7 +32,7 @@ type FileLogWriter struct { rotate bool - startLock sync.Mutex //only one log can write to the file + startLock sync.Mutex // Only one log can write to the file } type MuxWriter struct {