1e41f4b71Sopenharmony_ci# hiappevent_cfg.h
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci
4e41f4b71Sopenharmony_ci## Overview
5e41f4b71Sopenharmony_ci
6e41f4b71Sopenharmony_ciDefines the configuration items of the event logging configuration function.
7e41f4b71Sopenharmony_ci
8e41f4b71Sopenharmony_ciIf you want to configure the application event logging function, you can directly use configuration item constants.
9e41f4b71Sopenharmony_ci
10e41f4b71Sopenharmony_ciExample:
11e41f4b71Sopenharmony_ci
12e41f4b71Sopenharmony_ci```
13e41f4b71Sopenharmony_cibool res = OH_HiAppEvent_Configure(MAX_STORAGE, "100M");
14e41f4b71Sopenharmony_ci```
15e41f4b71Sopenharmony_ci
16e41f4b71Sopenharmony_ci**Since**: 8
17e41f4b71Sopenharmony_ci
18e41f4b71Sopenharmony_ci**Related module**: [HiAppEvent](_hi_app_event.md)
19e41f4b71Sopenharmony_ci
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ci## Summary
22e41f4b71Sopenharmony_ci
23e41f4b71Sopenharmony_ci
24e41f4b71Sopenharmony_ci### Macros
25e41f4b71Sopenharmony_ci
26e41f4b71Sopenharmony_ci| Name | Description | 
27e41f4b71Sopenharmony_ci| -------- | -------- |
28e41f4b71Sopenharmony_ci| [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. | 
29e41f4b71Sopenharmony_ci| [MAX_STORAGE](_hi_app_event.md#max_storage)   "max_storage" | Specifies the storage quota of the event file directory. The default value is **10M**. | 
30