diff --git a/en/application-dev/dfx/hiappevent-guidelines.md b/en/application-dev/dfx/hiappevent-guidelines.md index 13c782e5ac7b4a5fc523a865bc2b9826273c2799..17c599878816756cdf40f2dd3791dde61ed2ea00 100644 --- a/en/application-dev/dfx/hiappevent-guidelines.md +++ b/en/application-dev/dfx/hiappevent-guidelines.md @@ -21,7 +21,7 @@ When an asynchronous callback is used, the return value can be processed directl | API | Return Value | Description | | ------------------------------ | ------------ | ------------------------------------------------------------ | -| configure(ConfigOption config) | boolean | Sets the configuration options for application event logging.
The value **true** indicates that the operation is successful, and value **false** indicates the opposite. | +| configure(ConfigOption config) | boolean | Sets the configuration options for application event logging.
The value **true** indicates that the operation is successful, and value **false** indicates the opposite. | ## How to Develop @@ -69,4 +69,10 @@ In this example, an application event is logged after the application startup ex } ``` -2. Tap the run button on the application UI to run the project. \ No newline at end of file +2. Tap the run button on the application UI to run the project. + +## Samples + +The following sample is provided to help you better understand how to develop the application event logging feature: + +- [`JsDotTest`: Event Logging Test (JavaScript) (API 7)](https://gitee.com/openharmony/app_samples/tree/master/DFX/JsDotTest)