1
This commit is contained in:
@@ -213,6 +213,10 @@ func (t *TcpClient) doPrint(key string) (err error) {
|
|||||||
default:
|
default:
|
||||||
select {
|
select {
|
||||||
case printMsg, ok := <-t.MsgMap[key]:
|
case printMsg, ok := <-t.MsgMap[key]:
|
||||||
|
globals.SugarLogger.Debugf("printMsg == %s ,ok = %v", utils.Format4Output(printMsg, false), ok)
|
||||||
|
globals.SugarLogger.Debugf("printclien == %s", utils.Format4Output(t.Clients[printMsg.PrintNo], false))
|
||||||
|
globals.SugarLogger.Debugf("printMsg == %s ,ok = %v", utils.Format4Output(printMsg, false), ok)
|
||||||
|
globals.SugarLogger.Debugf("printMsg == %s ,ok = %v", utils.Format4Output(printMsg, false), ok)
|
||||||
if !ok {
|
if !ok {
|
||||||
globals.SugarLogger.Debugf("doPrint err !ok ...")
|
globals.SugarLogger.Debugf("doPrint err !ok ...")
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user