From c47c78ea8aef52e4c7743061c4a048e9961b4c33 Mon Sep 17 00:00:00 2001 From: buzhenwang Date: Wed, 3 Sep 2025 20:39:17 +0800 Subject: [PATCH] add RecordData Signed-off-by: buzhenwang --- interfaces/ets/ani/hilog/ets/@ohos.hilog.ets | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/interfaces/ets/ani/hilog/ets/@ohos.hilog.ets b/interfaces/ets/ani/hilog/ets/@ohos.hilog.ets index f6bcbce..444c847 100644 --- a/interfaces/ets/ani/hilog/ets/@ohos.hilog.ets +++ b/interfaces/ets/ani/hilog/ets/@ohos.hilog.ets @@ -13,23 +13,25 @@ * limitations under the License. */ +import { RecordData } from '@ohos.base'; + export default namespace hilog { loadLibrary("hilog_ani"); export native function debug(domain: int, tag: string, format: string, - ...args: (Object|undefined|null)[]): void; + ...args: RecordData[]): void; export native function info(domain: int, tag: string, format: string, - ...args: (Object|undefined|null)[]): void; + ...args: RecordData[]): void; export native function warn(domain: int, tag: string, format: string, - ...args: (Object|undefined|null)[]): void; + ...args: RecordData[]): void; export native function error(domain: int, tag: string, format: string, - ...args: (Object|undefined|null)[]): void; + ...args: RecordData[]): void; export native function fatal(domain: int, tag: string, format: string, - ...args: (Object|undefined|null)[]): void; + ...args: RecordData[]): void; export native function isLoggable(domain: int, tag: string, level: LogLevel): boolean; -- Gitee