refactor(sync): add trace log

This commit is contained in:
Minghao Li 2022-10-25 19:11:28 +08:00
parent 64f539cacb
commit 01b712fbfd
1 changed files with 6 additions and 0 deletions

View File

@ -2790,6 +2790,12 @@ static void syncNodeEqElectTimer(void* param, void* tmrId) {
syncTimeoutDestroy(pSyncMsg);
return;
}
do {
char logBuf[128];
snprintf(logBuf, sizeof(logBuf), "eq elect timer lc:%ld", pSyncMsg->logicClock);
} while (0);
} else {
sTrace("syncNodeEqElectTimer FpEqMsg is NULL");
}