From a455c2b39108a6fab6a3ce338bcb277dc2aa84e4 Mon Sep 17 00:00:00 2001 From: liupeng298 Date: Tue, 6 Dec 2022 08:10:13 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/apis/js-apis-faultLogger.md. Signed-off-by: liupeng298 --- .../reference/apis/js-apis-faultLogger.md | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-faultLogger.md b/zh-cn/application-dev/reference/apis/js-apis-faultLogger.md index 41831ecfad..337e881e55 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-faultLogger.md +++ b/zh-cn/application-dev/reference/apis/js-apis-faultLogger.md @@ -29,14 +29,14 @@ import faultLogger from '@ohos.faultLogger' | 名称 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| pid | number | 必填 | 故障进程的进程id | -| uid | number | 必填 | 故障进程的用户id | -| type | [FaultType](#faulttype) | 必填 | 故障类型 | -| timestamp | number | 必填 | 日志生成时的秒级时间戳 | -| reason | string | 必填 | 发生故障的原因 | -| module | string | 必填 | 发生故障的模块 | -| summary | string | 必填 | 故障的概要 | -| fullLog | string | 必填 | 故障日志全文 | +| pid | number | 是 | 故障进程的进程id | +| uid | number | 是 | 故障进程的用户id | +| type | [FaultType](#faulttype) | 是 | 故障类型 | +| timestamp | number | 是 | 日志生成时的秒级时间戳 | +| reason | string | 是 | 发生故障的原因 | +| module | string | 是 | 发生故障的模块 | +| summary | string | 是 | 故障的概要 | +| fullLog | string | 是 | 故障日志全文 | ## faultLogger.querySelfFaultLog(deprecated) @@ -146,7 +146,7 @@ query(faultType: FaultType, callback: AsyncCallback<Array<FaultLogInfo> | 错误码ID | 错误信息 | | --- | --- | -| 10600001 | The service is not running or broken | +| 10600001 | the service is not running or broken | **示例:** @@ -203,7 +203,7 @@ query(faultType: FaultType) : Promise<Array<FaultLogInfo>> | 错误码ID | 错误信息 | | --- | --- | -| 10600001 | The service is not running or broken | +| 10600001 | the service is not running or broken | **示例:** -- GitLab