From d9b98e947f7b5aae886ff02ec27bd92aa34feaaa Mon Sep 17 00:00:00 2001
From: zhangmeng <zhangmeng@aiotlink.com>
Date: 星期一, 24 二月 2020 18:06:43 +0800
Subject: [PATCH] debug send/recv and add logs

---
 run.go |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/run.go b/run.go
index cef375d..9e4ee02 100644
--- a/run.go
+++ b/run.go
@@ -154,7 +154,7 @@
 			}
 
 			sdkInfo := msg.Tasklab.Sdkinfos[int(msg.Tasklab.Index)]
-			s.fnLogger("reid !!!!!! Recv From Humantrack SDK Result Length: ", len(sdkInfo.Sdkdata))
+			s.fnLogger("reid~~~~~~Recv From Humantrack SDK Result Length: ", len(sdkInfo.Sdkdata))
 
 			res := &protomsg.HumanTrackResult{}
 			if err := proto.Unmarshal(sdkInfo.Sdkdata, res); err != nil {
@@ -181,7 +181,7 @@
 			if len(res.Result) > 0 {
 				if out, err := proto.Marshal(res); err == nil {
 					msg.Tasklab.Sdkinfos[int(msg.Tasklab.Index)].Sdkdata = out
-					s.fnLogger("reid !!!!!! Send To Humantrack Result Length:", len(out))
+					s.fnLogger("reid~~~~~~Send To Humantrack Result Length:", len(out))
 				}
 			}
 
@@ -190,7 +190,7 @@
 					s.fnLogger("reid !!!!!! proto.Marshal Failed To Marshal proto.SdkMessage")
 					continue
 				}
-				// s.fnLogger("reid !!!!!! MSG Send Back To Humantrack Length:", len(data))
+				s.fnLogger("reid~~~~~~MSG Send Back To Humantrack Length:", len(data))
 
 				chSnd <- data
 			} else {

--
Gitblit v1.8.0