fix send overwritten by merge
This commit is contained in:
parent
3d5db7288f
commit
d1c89727dc
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user