diff options
author | Harald Sitter <sitter@kde.org> | 2019-03-04 11:27:15 +0100 |
---|---|---|
committer | Harald Sitter <sitter@kde.org> | 2019-03-12 14:48:04 +0100 |
commit | 516f558742dfa8da7a5e6def39309516d703bc1b (patch) | |
tree | a122aef3af04641813a1c0b82f5b63cf9c622b03 /src/kconfig_compiler/kconfig_compiler.cpp | |
parent | 7e55f08343ef888dbdcd7a521f437102f95681ab (diff) | |
download | kconfig-516f558742dfa8da7a5e6def39309516d703bc1b.tar.gz kconfig-516f558742dfa8da7a5e6def39309516d703bc1b.tar.bz2 |
[kconf_update] move from custom logging tech to qCDebug
Summary:
the previous logging tech got kind of defunct in 2014 (to the point where
it was basically qCDebug). seeing as no one really complained it seems
reasonable to just move to qCDebug instead and make use of category filters
and other qdebug goodness (such as system logging facilities for the
various platforms)
- new logging category kf5.kconfig.update; at info level by default (i.e.
unless otherwise configured kconf_update is now silent)
- --debug cmdline option now also attempts to force-enable the debug mode
on that category (and debugs that attempt in of itself, so we don't get
confused by categories magically getting enabled).
- all log() calls are now qCDebug calls
- all logFileErorr() calls (which was context-sensitive to the .upd file
parsing) have been changed to qCDebugFile
- qCDebugFile is a new *macro* wrapping around qCDebug to give it file
context
- everything is now qCDebug instead of qDebug
- arguments updated to drop excess quoting and spaces to reduce "noise"
https://markmail.org/thread/ofaeqcabguxyohyb
Test Plan: updater still works and debugs when debug is enabled
Reviewers: apol, aacid, #frameworks
Subscribers: kde-frameworks-devel
Tags: #frameworks
Differential Revision: https://phabricator.kde.org/D19508
Diffstat (limited to 'src/kconfig_compiler/kconfig_compiler.cpp')
0 files changed, 0 insertions, 0 deletions