diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-21 21:52:42 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-21 21:52:42 +0800 |
commit | a7ad9c309bf72a9f2b4f12001034e1842ca55319 (patch) | |
tree | fa573f69742e3e7cf9b2a8d124a27c9d4c8d3c2b /logger/sys.go | |
parent | ce862ee7589a0780cebc8a7bb1cf6a75193d55a0 (diff) | |
parent | 38c7c589e4a1b08baaab5b81de6aca7fa853d284 (diff) | |
download | dexon-a7ad9c309bf72a9f2b4f12001034e1842ca55319.tar.gz dexon-a7ad9c309bf72a9f2b4f12001034e1842ca55319.tar.zst dexon-a7ad9c309bf72a9f2b4f12001034e1842ca55319.zip |
Merge branch 'develop' into conversion
Diffstat (limited to 'logger/sys.go')
-rw-r--r-- | logger/sys.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/logger/sys.go b/logger/sys.go index bd826b587..db4251a52 100644 --- a/logger/sys.go +++ b/logger/sys.go @@ -76,8 +76,7 @@ func dispatchLoop() { func sysLoop(sys LogSystem, in <-chan message, wg *sync.WaitGroup) { for msg := range in { switch sys.(type) { - case *rawLogSystem: - // This is a semantic hack since rawLogSystem has little to do with JsonLevel + case *jsonLogSystem: if msg.level == JsonLevel { sys.LogPrint(msg.level, msg.msg) } |