hiappevent_cfg.h
Overview
Defines the configuration items of the event logging configuration function. To configure the application event logging functionality, you can directly use configuration item constants.
File to include: <hiappevent/hiappevent_cfg.h>
Library: libhiappevent_ndk.z.so
System capability: SystemCapability.HiviewDFX.HiAppEvent
Since: 8
Related module: HiAppEvent
Summary
Macros
| Name | Description |
|---|---|
| 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. Since: 8 |
| MAX_STORAGE "max_storage" | Storage quota of the event file directory. The default value is 10M. Since: 8 |
Macro Description
DISABLE
#define DISABLE "disable"
Description
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.
Since: 8
MAX_STORAGE
#define MAX_STORAGE "max_storage"
Description
Storage quota of the event file directory. The default value is 10M.
Since: 8
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 js-apis-hiviewdfx-FaultLogExtensionAbility
openharmony 鸿蒙 errorcode-hisysevent-sys
openharmony 鸿蒙 capi-hitrace-hitraceid
openharmony 鸿蒙 capi-hidebug-hidebug-threadcpuusage
openharmony 鸿蒙 js-apis-loglibrary-sys
openharmony 鸿蒙 capi-hiappevent-h