yanghui
2021-04-27 1cdf9c1408fc13df677e9f738e59fe46df86fc20
logc.go
@@ -2,7 +2,6 @@
import (
   "basic.com/valib/bhomebus.git"
   "encoding/json"
   "fmt"
   "sync"
   "time"
@@ -94,7 +93,7 @@
   }
   if msg == "" {
      retrun
      return
   }
   log := &ScheduleLog{
@@ -109,7 +108,7 @@
   deliverLog(log, timeout)
}
func deliverLog(l LogPrinter, timeout time.Duration)  {
func deliverLog(l LogPrinter, timeout time.Duration) {
   select {
   case logCh <- l:
      return