1# hiappevent_cfg.h 2 3<!--Kit: Performance Analysis Kit--> 4<!--Subsystem: HiviewDFX--> 5<!--Owner: @liujiaxing2024--> 6<!--SE: @junjie_shi--> 7<!--TSE: @gcw_KuLfPSbe--> 8 9## Overview 10 11Defines the configuration items of the event logging configuration function. If you want to configure the application event logging function, you can directly use configuration item constants. 12 13**File to include**: <hiappevent/hiappevent_cfg.h> 14 15**Library**: libhiappevent_ndk.z.so 16 17**System capability**: SystemCapability.HiviewDFX.HiAppEvent 18 19**Since**: 8 20 21**Related Module**: [HiAppEvent](capi-hiappevent.md) 22 23## Summary 24 25### Macros 26 27| Name | Description | 28|-------------------------------------------|------------------------------------------------------------| 29| [DISABLE](#disable) "disable" | 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.<br>**Since**: 8| 30| [MAX_STORAGE](#max_storage) "max_storage" | Storage quota of the event file directory. The default value is **10M**.<br>**Since**: 8| 31 32 33## Macro Description 34 35### DISABLE 36 37``` 38#define DISABLE "disable" 39``` 40 41**Description** 42 43Whether 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. 44 45**Since**: 8 46 47### MAX_STORAGE 48 49``` 50#define MAX_STORAGE "max_storage" 51``` 52 53**Description** 54 55Storage quota of the event file directory. The default value is **10M**. 56 57**Since**: 8 58