Use QLoggingCategory with qCDebug et al. to make it possible to properly filter all the stuff logged by Krita.
See libs/global/kis_debug.cpp and libs/global/kis_debug.h
Use QLoggingCategory with qCDebug et al. to make it possible to properly filter all the stuff logged by Krita.
See libs/global/kis_debug.cpp and libs/global/kis_debug.h
Status | Assigned | Task | ||
---|---|---|---|---|
Open | victorw | T6774 Improve logging | ||
Open | None | T7151 Replace qDebug et al. to use QLoggingCategory |
Small note: uou can use the script kf5/convert-qkdebug-to-qcdebug.sh from kde-dev-scripts.git to automate the conversion.
Limitation: it defines only one category, but if you need multiple categories in different files, you can pass to the script only the files that needs to be covered by that specific category.