From 4bd7bf9fa559b9868d7633887c2307f4856da828 Mon Sep 17 00:00:00 2001 From: maxli Date: Fri, 8 Nov 2024 15:19:33 +0800 Subject: [PATCH] fix(android): correct some log level --- framework/android/connector/dom/src/main/cpp/src/dom_jni.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/framework/android/connector/dom/src/main/cpp/src/dom_jni.cc b/framework/android/connector/dom/src/main/cpp/src/dom_jni.cc index 0c5021a3b47..750eeeaf0f2 100644 --- a/framework/android/connector/dom/src/main/cpp/src/dom_jni.cc +++ b/framework/android/connector/dom/src/main/cpp/src/dom_jni.cc @@ -163,18 +163,16 @@ jint CreateDomManager(JNIEnv* j_env, jobject j_obj, jint j_group_id, jint j_shar if (share_dom_id > 0) { flag = hippy::global_data_holder.Find(static_cast(share_dom_id), share_dom_manager); } - FOOTSTONE_DLOG(ERROR) << "CreateDomManager flag " << flag << ", dom_id " << dom_id << ", share_dom_id " << share_dom_id; + FOOTSTONE_DLOG(INFO) << "CreateDomManager flag " << flag << ", dom_id " << dom_id<< ", share_dom_id " << share_dom_id << ", group_id " << group_id; if (flag && group_id != kDefaultGroupId) { - FOOTSTONE_DLOG(ERROR) << "CreateDomManager share "; auto dom_manager_object = std::any_cast>(share_dom_manager); auto worker = dom_manager_object->GetWorker(); auto runner = dom_manager_object->GetTaskRunner(); dom_manager->SetTaskRunner(runner); dom_manager->SetWorker(worker); auto count = worker->FetchAndAddReuseCount(); - FOOTSTONE_DLOG(ERROR) << "CreateDomManager worker reuse count " << count << ", dom manager id " << dom_id; + FOOTSTONE_DLOG(INFO) << "CreateDomManager worker reuse count " << count << ", dom manager id " << dom_id; } else { - FOOTSTONE_DLOG(ERROR) << "CreateDomManager create new "; auto worker = std::make_shared(kDomWorkerName, false); auto callback = std::make_shared(j_env, j_obj); worker->BeforeStart([callback]() {