diff options
author | zelig <viktor.tron@gmail.com> | 2014-07-15 02:02:34 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2014-07-15 02:02:34 +0800 |
commit | d1c89727dcf10c87bd1df68da9508cec047c56cf (patch) | |
tree | 3e259f6ac1ac91c2e92d35e37601b6832b043c81 | |
parent | 3d5db7288f134fef7e51b25776007705f6663654 (diff) | |
download | go-tangerine-d1c89727dcf10c87bd1df68da9508cec047c56cf.tar go-tangerine-d1c89727dcf10c87bd1df68da9508cec047c56cf.tar.gz go-tangerine-d1c89727dcf10c87bd1df68da9508cec047c56cf.tar.bz2 go-tangerine-d1c89727dcf10c87bd1df68da9508cec047c56cf.tar.lz go-tangerine-d1c89727dcf10c87bd1df68da9508cec047c56cf.tar.xz go-tangerine-d1c89727dcf10c87bd1df68da9508cec047c56cf.tar.zst go-tangerine-d1c89727dcf10c87bd1df68da9508cec047c56cf.zip |
fix send overwritten by merge
-rw-r--r-- | ethlog/loggers.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethlog/loggers.go b/ethlog/loggers.go index f13186102..59021d169 100644 --- a/ethlog/loggers.go +++ b/ethlog/loggers.go @@ -130,14 +130,14 @@ func AddLogSystem(logSystem LogSystem) { func (logger *Logger) sendln(level LogLevel, v ...interface{}) { if logMessages != nil { msg := newPrintlnLogMessage(level, logger.tag, v...) - logMessages <- msg + send(msg) } } func (logger *Logger) sendf(level LogLevel, format string, v ...interface{}) { if logMessages != nil { msg := newPrintfLogMessage(level, logger.tag, format, v...) - logMessages <- msg + send(msg) } } |