You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace all direct qWarning and qInfo calls with categorized logging
macros (qCWarning, qCInfo) using appropriate logging categories (DNC,
DSM). Add necessary includes for NetworkConst header where needed.
Add .pragma library directive to NetUtils.js for better QML module
handling.
This change improves logging consistency and allows for better log
filtering and management. Categorized logging provides more control
over log output levels and destinations. The .pragma library directive
ensures NetUtils.js functions are properly shared across QML components.
Influence:
1. Verify that logging still works correctly in all modules
2. Test network operations to ensure no functional regressions
3. Check that QML components using NetUtils.js function properly
4. Verify log filtering capabilities with different log levels
chore: 将 qWarning 替换为分类日志记录
将所有直接的 qWarning 和 qInfo 调用替换为使用适当日志分类(DNC、DSM)的
分类日志宏(qCWarning、qCInfo)。在需要的地方添加 NetworkConst 头文件包
含。为 NetUtils.js 添加 .pragma library 指令以改进 QML 模块处理。
此更改提高了日志记录的一致性,并允许更好的日志过滤和管理。分类日志记录提
供了对日志输出级别和目标的更多控制。.pragma library 指令确保 NetUtils.js
函数在 QML 组件之间正确共享。
Influence:
1. 验证所有模块中的日志记录是否仍然正常工作
2. 测试网络操作以确保没有功能回归
3. 检查使用 NetUtils.js 的 QML 组件是否正常运行
4. 使用不同日志级别验证日志过滤功能
0 commit comments