1# hiappevent_cfg.h 2 3 4## Overview 5 6Defines the configuration items of the event logging configuration function. 7 8If you want to configure the application event logging function, you can directly use configuration item constants. 9 10Example: 11 12``` 13bool res = OH_HiAppEvent_Configure(MAX_STORAGE, "100M"); 14``` 15 16**File to include**: <hiappevent/hiappevent_cfg.h> 17 18**Since**: 8 19 20**Related module**: [HiAppEvent](_hi_app_event.md) 21 22 23## Summary 24 25 26### Macros 27 28| Name| Description| 29| -------- | -------- | 30| [DISABLE](_hi_app_event.md#disable) "disable" | Specifies whether to disable event logging. The default value is **false**. The value **true** means to disable the event logging function, and the value **false** means the opposite. | 31| [MAX_STORAGE](_hi_app_event.md#max_storage) "max_storage" | Specifies the storage quota of the event file directory. The default value is **10M**. | 32