Home Article Practice 打印HiLog日志

打印HiLog日志

2021-11-15 14:08  views:434  source:FYH    

private static final HiLogLabel HI_LOG_LABEL =
new HiLogLabel(HiLog.LOG_APP,domain: 0x12345,tag: " 条");
HiLog.debug(HI_LOG_LABEL,format: "这是一条【debug】级别的日志");
HiLog.info(HI_LOG_LABEL,format: "这是一条【info】级别的日志");
HiLog.warn(HI_LOG_LABEL,format: "这是一条【warn】级别的日志");
HiLog.error(HI_LOG_LABEL,format: "这是一条【error】级别的日志");
HiLog.fatal(HI_LOG_LABEL,format: "这是一条【fatal】级别的日志");



Disclaimer: The above articles are added by users themselves and are only for typing and communication purposes. They do not represent the views of this website, and this website does not assume any legal responsibility. This statement is hereby made! If there is any infringement of your rights, please contact us promptly to delete it.

字符:    改为:
去打字就可以设置个性皮肤啦!(O ^ ~ ^ O)