TicketNO: DTS2024101710167

Description: 添加了关键处的日志信息,比如formData.size,并修复了组建日志中多处打印指针的问题
Team:
Feature or Bugfix:
Binary source:
PrivateCode(Yes/No):No
Signed-off-by: y30069754 <335776680@qq.com>
This commit is contained in:
Yangdingcheng 2024-10-29 16:19:26 +08:00
parent 6a2eabb608
commit f69f2d86a6
2 changed files with 3 additions and 3 deletions

View File

@ -836,8 +836,8 @@ void UIContentImpl::PreInitializeForm(OHOS::Rosen::Window* window, const std::st
void UIContentImpl::RunFormPage()
{
LOGI("[%{public}s][%{public}s][%{public}d]: Initialize startUrl: %{public}s",
bundleName_.c_str(), moduleName_.c_str(), instanceId_, startUrl_.c_str());
LOGI("[%{public}s][%{public}s][%{public}d]: Initialize startUrl: %{public}s, formData_.size:%{public}s",
bundleName_.c_str(), moduleName_.c_str(), instanceId_, startUrl_.c_str(), std::to_string(formData_.size()).c_str());
// run page.
Platform::AceContainer::RunPage(instanceId_, startUrl_, formData_, false);
auto distributedUI = std::make_shared<NG::DistributedUI>();

View File

@ -36,7 +36,7 @@ FormRenderer::FormRenderer(const std::shared_ptr<OHOS::AbilityRuntime::Context>
std::weak_ptr<OHOS::AppExecFwk::EventHandler> eventHandler)
: context_(context), runtime_(runtime), eventHandler_(eventHandler)
{
HILOG_INFO("FormRenderer %{public}p created.", this);
HILOG_INFO("FormRenderer created.");
if (!context_ || !runtime_) {
return;
}