From 2cce338df71260a0ea8facf8f9d1b56428b9411a Mon Sep 17 00:00:00 2001 From: y00620503 Date: Mon, 25 Aug 2025 20:43:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=BF=E6=8D=A2loadlibrary=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: y00620503 Change-Id: I6d60fd77626d47b032ff9e11c80e020b63960bdd --- interfaces/ets/ani/hilog/ets/@ohos.hilog.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/ets/ani/hilog/ets/@ohos.hilog.ets b/interfaces/ets/ani/hilog/ets/@ohos.hilog.ets index 15cb6a7..2d7094c 100644 --- a/interfaces/ets/ani/hilog/ets/@ohos.hilog.ets +++ b/interfaces/ets/ani/hilog/ets/@ohos.hilog.ets @@ -16,7 +16,7 @@ type RecordData = undefined | null | Object | Record | Array; export default namespace hilog { - loadLibrary("hilog_ani"); + loadLibraryWithPermissionCheck("hilog_ani", "@ohos.hilog"); export native function debug(domain: number, tag: string, format: string, ...args: RecordData[]): void; -- Gitee