mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-12-11 20:03:42 +00:00
log
Signed-off-by: sodanotgreen <limengzheng@huawei.com>
This commit is contained in:
parent
1b7b2a21bc
commit
d4c4e1edab
@ -138,7 +138,7 @@ bool ConnectServerManager::StoreInstanceMessage(int32_t tid, int32_t instanceId,
|
||||
auto result = instanceMap_.try_emplace(instanceId, std::make_pair(instanceName, tid));
|
||||
if (!result.second) {
|
||||
TAG_LOGW(AAFwkTag::JSRUNTIME,
|
||||
"Instance %{public}d already added", instanceId);
|
||||
"Instance %{public}d added", instanceId);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@ -314,7 +314,7 @@ void ConnectServerManager::RemoveInstance(int32_t instanceId)
|
||||
std::lock_guard<std::mutex> lock(mutex_);
|
||||
auto it = instanceMap_.find(instanceId);
|
||||
if (it == instanceMap_.end()) {
|
||||
TAG_LOGW(AAFwkTag::JSRUNTIME, "Instance %{public}d is not found",
|
||||
TAG_LOGW(AAFwkTag::JSRUNTIME, "Instance %{public}d not found",
|
||||
instanceId);
|
||||
return;
|
||||
}
|
||||
|
@ -226,7 +226,7 @@ void AssetHelper::operator()(const std::string& uri, uint8_t** buff, size_t* buf
|
||||
// 2.2 start with /modulename
|
||||
// 2.3 start with @namespace
|
||||
// 2.4 start with modulename
|
||||
TAG_LOGD(AAFwkTag::JSRUNTIME, "The application is packaged using esmodule mode");
|
||||
TAG_LOGD(AAFwkTag::JSRUNTIME, "esmodule mode");
|
||||
if (uri.find(BUNDLE_NAME_FLAG) == 0) {
|
||||
TAG_LOGD(AAFwkTag::JSRUNTIME, "uri start with @bundle:");
|
||||
size_t fileNamePos = uri.find_last_of("/");
|
||||
|
Loading…
Reference in New Issue
Block a user