aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ethlog/loggers.go4
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)
}
}