harmony 鸿蒙hiappevent_cfg.h

  • 2025-06-12
  • 浏览 (6)

hiappevent_cfg.h

Overview

Defines 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.

Example:

bool res = OH_HiAppEvent_Configure(MAX_STORAGE, "100M");

Library: libhiappevent_ndk.z.so

File to include:

System capability: SystemCapability.HiviewDFX.HiAppEvent

Since: 8

Related module: HiAppEvent

Summary

Macros

Name Description
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.
MAX_STORAGE   “max_storage” Specifies the storage quota of the event file directory. The default value is 10M.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Performance Analysis Kit

harmony 鸿蒙Performance Analysis Kit

harmony 鸿蒙HiAppEvent

harmony 鸿蒙HiAppEvent_AppEventGroup

harmony 鸿蒙HiAppEvent_AppEventInfo

harmony 鸿蒙HiCollie

harmony 鸿蒙HiCollie_DetectionParam

harmony 鸿蒙HiCollie_SetTimerParam

harmony 鸿蒙HiDebug

harmony 鸿蒙HiDebug_MemoryLimit

0  赞