> The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version.
> The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version.
> The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version.
## Modules to Import
```
```js
importfaultLoggerfrom'@ohos.faultLogger'
```
...
...
@@ -56,7 +56,7 @@ Obtains the fault information about the current process. This API uses a callbac
**Example**
```
```js
functionqueryFaultLogCallback(error,value){
if(error){
console.info('error is '+error);
...
...
@@ -101,7 +101,7 @@ Obtains the fault information about the current process. This API uses a promise