1# hiappevent_cfg.h
2
3
4## 概述
5
6定义事件打点配置函数的所有配置项名称。
7
8如果您想要对应用事件打点功能进行配置,您可以直接使用配置项常量。
9
10示例代码:
11
12```
13bool res = OH_HiAppEvent_Configure(MAX_STORAGE, "100M");
14```
15
16**引用文件:** <hiappevent/hiappevent_cfg.h>
17
18**起始版本:** 8
19
20**相关模块:**[HiAppEvent](_hi_app_event.md)
21
22
23## 汇总
24
25
26### 宏定义
27
28| 名称 | 描述 |
29| -------- | -------- |
30| [DISABLE](_hi_app_event.md#disable)   "disable" | 事件打点开关。默认值为false。true:关闭打点功能,false:不关闭打点功能。  |
31| [MAX_STORAGE](_hi_app_event.md#max_storage)   "max_storage" | 事件文件目录存储配额大小。默认值为“10M”。  |
32