aboutsummaryrefslogtreecommitdiffstats
path: root/logger/sys.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-01-22 00:26:54 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-01-22 00:26:54 +0800
commited7d7b405e1de8010f2ddeecf2b3798e2f07ad31 (patch)
tree366e6c09239233aae3b5202fe80bc5231f6e7202 /logger/sys.go
parent41d80ba17bac2d6cfefb8a1c6206fe1ccee04d1d (diff)
downloaddexon-ed7d7b405e1de8010f2ddeecf2b3798e2f07ad31.tar.gz
dexon-ed7d7b405e1de8010f2ddeecf2b3798e2f07ad31.tar.zst
dexon-ed7d7b405e1de8010f2ddeecf2b3798e2f07ad31.zip
Split file cleanup
Diffstat (limited to 'logger/sys.go')
-rw-r--r--logger/sys.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/logger/sys.go b/logger/sys.go
index 5b48241c2..59b8582f9 100644
--- a/logger/sys.go
+++ b/logger/sys.go
@@ -4,6 +4,11 @@ import (
"sync"
)
+type message struct {
+ level LogLevel
+ msg string
+}
+
var (
logMessageC = make(chan message)
addSystemC = make(chan LogSystem)