HiLog,
HiTrace, and Debug.
The HiLog class is used for service debugging and maintenance.
Logs are output on applications based on the specified log type, level, and privacy parameter setting.
The HiTrace class is used for performance debugging and maintenance of service flows.
A trace task is enabled for applications to trace a service call chain, including cross-thread, -process,
and -device service calls.
The Debug class is used for applications to obtain their memory information
for service debugging and maintenance.
| 接口 | 说明 |
|---|---|
| HiChecker.OnCautionListener |
Obtains and handles cautions.
|
| 类 | 说明 |
|---|---|
| Caution |
Displays detailed caution information when a caution detection rule is applied.
|
| Debug |
Provides debugging methods for applications, including obtaining statistics about tracing and memory data.
|
| Debug.HeapInfo |
Provides the static native heap memory used by the current process of your application.
|
| FaultLogger |
Manages the logging of application faults.
|
| FaultLogger.FaultLogInfo |
Represents an application fault record.
|
| FaultLogger.FaultLogQueryResult |
Represents the query result of application fault records.
|
| HiAppEvent |
Provides the event logging function for applications to log the fault, statistical, security,
and user behavior events reported during running.
|
| HiChecker |
Represents the HiChecker tool that is used to detect bad code usage and execution results during your application and
system development.
|
| HiLog |
Provides methods for outputting
HiLog logs. |
| HiLogLabel |
An auxiliary class for the
HiLog class to define log labels, including the log type,
service domain, and tag. |
| HiTrace |
Provides interfaces for tracing a service call chain, including the start and end of a service flow,
and cross-thread, -process, and -device service calls.
|
| HiTraceId |
Provides ID information of a call chain trace process.
|
| ResourceTag |
Represents a resource tag, which helps mark resources to avoid the situation where resources are not released
as supposed or are not released in a timely manner.
|
| 枚举 | 说明 |
|---|---|
| Debug.IpcType |
Enumerates IPC object types.
|
| Debug.MemType |
Enumerates memory types.
|
| HiAppEvent.EventType |
Enumerates application event types.
|
| HiChecker.Rule |
Enumerates detection rules and caution rules.
|
| 注释类型 | 说明 |
|---|---|
| HiLogConstString |
A Java annotation used to identify a parameter as a constant string.
|