README.md
1# DFX - FaultLogger
2
3### Introduction
4
5This example illustrates how to obtain application fault information in eTS.
6
7### Usage
8
91. After the application is started, click **Simulate Fault**. In the displayed dialog box, select the fault type and click **OK** to create the fault scenario.
10
112. Restart the application, and click the corresponding button to obtain the desired fault log.
12
13### Constraints
14
15This sample can only be run on standard-system devices. The SDK version must be 3.2.10.6 or later.
16
README_zh.md
1# 故障日志获取
2
3### 介绍
4
5本示例使用了faultLogger接口,展示了在eTS中如何获取应用故障相关信息。
6
7使用说明:
81. 启动应用后,点击**构造异常**按钮,在弹窗中选择故障类型,点击确定可以构造异常场景。
92. 构造异常场景后,重新启动应用,点击下面不同的获取异常按钮可以获取到对应类型的异常日志并显示在页面文本框中。
10
11### 效果预览
12
13|主页|
14|----------|
15||
16
17### 相关权限
18
19不涉及。
20
21### 依赖
22
23不涉及。
24
25### 约束与限制
26
271. 本示例仅支持标准系统上运行,支持设备:RK3568;
282. 本示例仅支持API9版本SDK,版本号:3.2.10.6
293. 本示例需要使用DevEco Studio 3.1 Canary1 (Build Version: 3.1.0.100, built on November 3, 2022)才可编译运行。
30
31