HiSysEvent

Introduction

HiSysEvent provides event logging APIs for OpenHarmony to record important information of key processes during system running, helping you locate faults. In addition, you can upload the log data to the cloud for big data analytics.

The key modules of HiSysEvent are described as follows:

  • HiSysEvent logging configuration: enables you to define HiSysEvent events in YAML files.

  • HiSysEvent logging: provides trace point APIs and supports flushing of HiSysEvent events to disks.

  • HiSysEvent listening: provides APIs for you to subscribe to HiSysEvent events by event domain and event name.

  • HiSysEvent query: provides APIs for you to query HiSysEvent events by event domain and event name.

  • HiSysEvent tool: allows you to subscribe to real-time HiSysEvent events and query historical HiSysEvent events.

Reference

For more information about the source code and usage of HiSysEvent, access the HiSysEvent code repository.