refactor(sync): add trace log
This commit is contained in:
parent
64f539cacb
commit
01b712fbfd
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue