提交 01b712fb 编写于 作者: M Minghao Li

refactor(sync): add trace log

上级 64f539ca
...@@ -2790,6 +2790,12 @@ static void syncNodeEqElectTimer(void* param, void* tmrId) { ...@@ -2790,6 +2790,12 @@ static void syncNodeEqElectTimer(void* param, void* tmrId) {
syncTimeoutDestroy(pSyncMsg); syncTimeoutDestroy(pSyncMsg);
return; return;
} }
do {
char logBuf[128];
snprintf(logBuf, sizeof(logBuf), "eq elect timer lc:%ld", pSyncMsg->logicClock);
} while (0);
} else { } else {
sTrace("syncNodeEqElectTimer FpEqMsg is NULL"); sTrace("syncNodeEqElectTimer FpEqMsg is NULL");
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册