The journal and the preferences were two of the many things src/ held, so "where does this live" meant reading the file to find out. They now have a folder each — logging/ and preferences/ — with the header next to its source, the way pages/ has always been laid out. Flat #include still resolves: the folders join the include path.
12 lines
402 B
C
12 lines
402 B
C
#pragma once
|
|
|
|
#include <QLoggingCategory>
|
|
|
|
// Structured log categories (P4 quality): use qCDebug/qCInfo/qCWarning with
|
|
// these instead of scattering qDebug() so logs can be filtered per area with
|
|
// QT_LOGGING_RULES="pacmgr.ui.debug=true" etc.
|
|
Q_DECLARE_LOGGING_CATEGORY(pacmgrUi)
|
|
Q_DECLARE_LOGGING_CATEGORY(pacmgrOp)
|
|
Q_DECLARE_LOGGING_CATEGORY(pacmgrPlugin)
|
|
Q_DECLARE_LOGGING_CATEGORY(pacmgrUpdate)
|