diff --git a/interfaces/ets/ani/hilog/ets/@ohos.hilog.ets b/interfaces/ets/ani/hilog/ets/@ohos.hilog.ets index 15cb6a7ff9f8a9b383a5932a9845eb029d495f6e..2d7094cbc0e87502741f2503144f86ea3461891a 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;