1.0.6 • Published 5 months ago
QuecRNLogModule
日志组件,缓存日志、上传日志等功能
类型 | 版本 | 适用平台 | 负责人 |
---|
module | 1.0.6 | all | mirror.wang@quectel.com |
1.0.6 Changelog:
none
方法
v
Send a VERBOSE log message.
序号 | 参数名 | 参数类型 | 描述 |
---|
1 | tag | string | String Used to identify the source of a log message |
2 | msg | string | String The message you would like logged |
d
Send a DEBUG log message.
序号 | 参数名 | 参数类型 | 描述 |
---|
1 | tag | string | String Used to identify the source of a log message |
2 | msg | string | String The message you would like logged |
i
Send an INFO log message.
序号 | 参数名 | 参数类型 | 描述 |
---|
1 | tag | string | String Used to identify the source of a log message |
2 | msg | string | String The message you would like logged |
w
Send a WARN log message.
序号 | 参数名 | 参数类型 | 描述 |
---|
1 | tag | string | String Used to identify the source of a log message |
2 | msg | string | String The message you would like logged |
e
Send an ERROR log message.
序号 | 参数名 | 参数类型 | 描述 |
---|
1 | tag | string | String Used to identify the source of a log message |
2 | msg | string | String The message you would like logged |
upload
上传日志
序号 | 参数名 | 参数类型 | 描述 |
---|
1 | time | integer | integer 单位ms 延迟时间 默认为0,表示立即上传 |
2 | showDialog | boolean | boolean true-显示日志上传加载框 false-表示静默上传 |
事件