mirror of
https://gitee.com/openharmony/distributeddatamgr_datamgr_service
synced 2024-11-30 10:32:08 +00:00
add log
Signed-off-by: z00544238 <zyc.wei@huawei.com>
This commit is contained in:
parent
8cf4c1c322
commit
1b0a2cf7fd
@ -516,6 +516,9 @@ int32_t UdmfServiceImpl::Sync(const QueryOption &query, const std::vector<std::s
|
||||
if (asyncProcessInfo_.syncStatus != ASYNC_RUNNING) {
|
||||
syncingData_ = false;
|
||||
}
|
||||
ZLOGD("store.Sync: name=%{public}s, id=%{public}u, status=%{public}u, total=%{public}u, finish=%{public}u",
|
||||
syncInfo.srcDevName.c_str(), syncInfo.syncId, syncInfo.syncStatus,
|
||||
syncInfo.syncTotal, syncInfo.syncFinished);
|
||||
};
|
||||
if (store->Sync(devices, callback) != E_OK) {
|
||||
syncingData_ = false;
|
||||
|
Loading…
Reference in New Issue
Block a user