zhou.xiaoning 2 jaren geleden
bovenliggende
commit
d1d685fc11
1 gewijzigde bestanden met toevoegingen van 5 en 0 verwijderingen
  1. 5 0
      client/client.go

+ 5 - 0
client/client.go

@@ -99,6 +99,11 @@ func (r *Client) WriteTradeWsBuf(buf []byte) (err error) {
 		r.tradeWriteChan <- buf
 	} else {
 		global.M2A_LOG.Info("WriteTradeWsBuf::wsTradeConn == nil", zap.Any("LoginID", r.LoginID), zap.Any("SessionID", r.SessionID))
+		global.M2A_LOG.Info("当前所有Client----")
+		for _, item := range Clients {
+			global.M2A_LOG.Info("client", zap.Any("LoginID", item.LoginID), zap.Any("Group", item.Group), zap.Any("SessionID", item.SessionID))
+		}
+		global.M2A_LOG.Info("----------------")
 	}
 
 	return