openharmony 鸿蒙 capi-hiappevent-cfg-h

2026-08-25 浏览 (1)

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

NameDescription
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 鸿蒙 capi-log-h

openharmony 鸿蒙 errorcode-hisysevent-sys

openharmony 鸿蒙 capi-hitrace-hitraceid

openharmony 鸿蒙 capi-hidebug-hidebug-threadcpuusage

openharmony 鸿蒙 js-apis-loglibrary-sys

openharmony 鸿蒙 capi-hiappevent-h

openharmony 鸿蒙 capi-hidebug-hidebug-jsstackframe

openharmony 鸿蒙 capi-hitrace

openharmony 鸿蒙 capi-hiappevent-param-h

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/4wGmypbB