From 901b54eafcae1dadf08e47271cf0f7aad7258183 Mon Sep 17 00:00:00 2001 From: wangtiantian Date: Wed, 3 Nov 2021 06:57:58 +0000 Subject: [PATCH] IssueNo:https://gitee.com/openharmony/hiviewdfx_hilog_lite/issues/I4GP5H Description:HILog add uikit module Sig:graphic Feature or Bugfix:Bugfix Binary Source:No Signed-off-by: wangtiantian --- frameworks/mini/hiview_log.c | 3 ++- interfaces/native/kits/hilog_lite/hiview_log.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/frameworks/mini/hiview_log.c b/frameworks/mini/hiview_log.c index 76c8927..c2a29a4 100755 --- a/frameworks/mini/hiview_log.c +++ b/frameworks/mini/hiview_log.c @@ -50,7 +50,8 @@ static void HiLogInit(void) HiLogRegisterModule(HILOG_MODULE_SEN, "SEN") == FALSE || HiLogRegisterModule(HILOG_MODULE_SCY, "SCY") == FALSE || HiLogRegisterModule(HILOG_MODULE_SOFTBUS, "SOFTBUS") == FALSE || - HiLogRegisterModule(HILOG_MODULE_POWERMGR, "POWERMGR") == FALSE) { + HiLogRegisterModule(HILOG_MODULE_POWERMGR, "POWERMGR") == FALSE || + HiLogRegisterModule(HILOG_MODULE_UIKIT, "UIKIT") == FALSE) { return; } diff --git a/interfaces/native/kits/hilog_lite/hiview_log.h b/interfaces/native/kits/hilog_lite/hiview_log.h index 7dc7798..749f437 100755 --- a/interfaces/native/kits/hilog_lite/hiview_log.h +++ b/interfaces/native/kits/hilog_lite/hiview_log.h @@ -116,6 +116,8 @@ typedef enum { HILOG_MODULE_SOFTBUS, /** PowerMgr */ HILOG_MODULE_POWERMGR, + /** UIKit */ + HILOG_MODULE_UIKIT, /** OEM Customize */ HILOG_MODULE_OEM_CUSTOMIZE = 32, /** Maximum number of modules */ -- Gitee