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**Library**: libhiappevent_ndk.z.so 17 18**File to include**: <hiappevent/hiappevent_cfg.h> 19 20**System capability**: SystemCapability.HiviewDFX.HiAppEvent 21 22**Since**: 8 23 24**Related module**: [HiAppEvent](_hi_app_event.md) 25 26 27## Summary 28 29 30### Macros 31 32| Name| Description| 33| -------- | -------- | 34| [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. | 35| [MAX_STORAGE](_hi_app_event.md#max_storage) "max_storage" | Specifies the storage quota of the event file directory. The default value is **10M**. | 36