public final class HiLogLabel extends Object
HiLog class to define log labels, including the log type,
service domain, and tag.
Each log label includes:
Log type: the type of logs.
Service domain: the service domain of logs. This is a hexadecimal integer ranging from 0x0 to 0xFFFFF. You are advised to use the 0xAAABB format, in which AAA indicates a subsystem and BB indicates a module.
Tag: a string constant used to identify the class or service behavior of a method call.
HiLogpublic HiLogLabel(int type,
int domain,
String tag)
HiLogLabel instance.type - Indicates the log type, which is defined in HiLog#LOG_APP.domain - Indicates the service domain, which is a hexadecimal integer ranging from 0x0 to 0xFFFFF.tag - Indicates a string constant, which identifies the class or service behavior of a method call.HiLog