diff --git a/api/@ohos.faultLogger.d.ts b/api/@ohos.faultLogger.d.ts index bc1af1ad5a7317ae5da79f2a39d935483703d0f5..8710a775406b5f7d1ff9bba343238dc9bcb9f2aa 100644 --- a/api/@ohos.faultLogger.d.ts +++ b/api/@ohos.faultLogger.d.ts @@ -38,6 +38,7 @@ declare namespace FaultLogger { * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger * @since 8 * @deprecated since 18 + * @useinstead ohos.hiviewdfx.hiAppEvent/hiAppEvent.event */ enum FaultType { /** @@ -102,6 +103,7 @@ declare namespace FaultLogger { * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger * @since 9 * @deprecated since 18 + * @useinstead ohos.hiviewdfx.hiAppEvent/hiAppEvent#addWatcher */ function query(faultType: FaultType, callback: AsyncCallback>): void; @@ -115,6 +117,7 @@ declare namespace FaultLogger { * @syscap SystemCapability.HiviewDFX.Hiview.FaultLogger * @since 9 * @deprecated since 18 + * @useinstead ohos.hiviewdfx.hiAppEvent/hiAppEvent#addWatcher */ function query(faultType: FaultType): Promise>;