From 17caf9660d60d44d5822e027a92a1c7d8186923f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B2=E6=99=93=E6=99=93?= Date: Sat, 7 Sep 2024 17:32:45 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 史晓晓 --- services/implementation/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/implementation/BUILD.gn b/services/implementation/BUILD.gn index 7d54a7b5..63c0b765 100644 --- a/services/implementation/BUILD.gn +++ b/services/implementation/BUILD.gn @@ -69,7 +69,7 @@ if (defined(ohos_lite)) { defines = [ "LITE_DEVICE", - "DH_LOG_ENABLE", + "HI_LOG_ENABLE", "DH_LOG_TAG=\"devicemanagerserviceimpl\"", "LOG_DOMAIN=0xD004110", ] -- Gitee From b8230a65c0da90f94c3acbeb6d24b643f3a58ee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B2=E6=99=93=E6=99=93?= Date: Fri, 13 Sep 2024 20:21:46 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 史晓晓 --- services/implementation/BUILD.gn | 2 +- services/service/BUILD.gn | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/services/implementation/BUILD.gn b/services/implementation/BUILD.gn index 63c0b765..7d54a7b5 100644 --- a/services/implementation/BUILD.gn +++ b/services/implementation/BUILD.gn @@ -69,7 +69,7 @@ if (defined(ohos_lite)) { defines = [ "LITE_DEVICE", - "HI_LOG_ENABLE", + "DH_LOG_ENABLE", "DH_LOG_TAG=\"devicemanagerserviceimpl\"", "LOG_DOMAIN=0xD004110", ] diff --git a/services/service/BUILD.gn b/services/service/BUILD.gn index 563299ef..2f3d58b4 100644 --- a/services/service/BUILD.gn +++ b/services/service/BUILD.gn @@ -57,6 +57,7 @@ if (defined(ohos_lite)) { sources = [ "${common_path}/src/dm_softbus_adapter_crypto.cpp", + "${common_path}/src/dm_log.cpp", "src/advertise/advertise_manager.cpp", "src/device_manager_service.cpp", "src/device_manager_service_listener.cpp", -- Gitee