日志整改

Signed-off-by: XKK <huyingsong@huawei.com>
This commit is contained in:
XKK
2024-01-18 16:47:36 +08:00
parent e532f49930
commit faa5a8a1a2
72 changed files with 353 additions and 354 deletions
@@ -44,7 +44,7 @@ JsModuleReader::JsModuleReader(const std::string& bundleName, const std::string&
bool JsModuleReader::operator()(const std::string& inputPath, uint8_t **buff, size_t *buffSize) const
{
HILOG_INFO("JsModuleReader operator start: %{private}s", inputPath.c_str());
HILOG_DEBUG("JsModuleReader operator start: %{private}s", inputPath.c_str());
HITRACE_METER_NAME(HITRACE_TAG_ABILITY_MANAGER, __PRETTY_FUNCTION__);
if (inputPath.empty() || buff == nullptr || buffSize == nullptr) {
HILOG_ERROR("Invalid param");
@@ -115,7 +115,7 @@ std::string JsModuleReader::GetCommonAppHspPath(const std::string& inputPath) co
realHapPath = std::string(ABS_CODE_PATH) + inputPath + suffix;
}
HILOG_INFO("realHapPath: %{private}s", realHapPath.c_str());
HILOG_DEBUG("realHapPath: %{private}s", realHapPath.c_str());
if (realHapPath.empty() ||
realHapPath.length() < suffix.length() ||
realHapPath.compare(realHapPath.length() - suffix.length(), suffix.length(), suffix) != 0) {