Repository navigation
feat: adapt deepin-debug-config for dynamic log level control (3/3) - #540
Conversation
Convert plain qDebug/qInfo/qWarning to categorized qCDebug/qCInfo/qCWarning with org.deepin.camera category in src/src files (previewopenglwidget, takephotosettingareawidget, titlebar, videowidget, windowstatethread), and add ddlog.h includes. 将 src/src 下 5 个源文件的普通日志宏改为带 org.deepin.camera 分类的 qCDebug/qCInfo/qCWarning,并补充 ddlog.h 头文件引入。 Log: 适配deepin-debug-config调试模式(3/3) Influence: 可通过deepin-debug-config动态切换deepin-camera的日志输出级别
Reviewer's GuideThe third split commit adapts five camera UI and runtime source files to categorized File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: add-uos, lzwind The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
deepin pr auto review🤖 AI 代码审查报告📊 总体评价
🔍 详细分析1. 语法逻辑 ✅评价: 语法正确,逻辑清晰 ✅ 通过 潜在问题: 建议: [] 2. 代码质量 ✅评价: 代码结构清晰,注释完整 ✅ 通过 潜在问题: 建议: [] 3. 代码性能 ✅评价: 性能良好,资源使用合理 ✅ 通过 潜在问题: 建议: [] 4. 代码安全 🔒评价: 存在0个安全漏洞 ✅ 通过
安全漏洞详情: 建议: [] 💡 改进建议代码示例本报告由 AI 代码审查工具自动生成 |
|
/forcemerge |
概要 / Summary
适配 deepin-debug-config 调试模式(第 3 部分,共 3 部分,按每 10 个文件拆分提交)。
qDebug()/qInfo()/qWarning()调用转换为qCDebug/qCInfo/qCWarning(appLog),统一使用org.deepin.camera分类,并补充ddlog.h头文件引入;注释代码保持原样注:本 PR 为拆分提交的第 3 部分,与第 1、2 部分配合使用;文件集与前两部分无交集,无合并冲突。完整改动已整体验证:Qt6 Release 构建通过、四档日志级别实测生效。
Summary by Sourcery
Adapt the remaining camera components to centralized, dynamically controllable logging.
Enhancements:
Chores: