Remove .debug category since this is autofilled by Qt and used to differentiate between QCDebug and QCWarning and QCError.

This commit is contained in:
Lukas Brübach 2025-01-17 12:11:44 +01:00
parent 26dfd548e4
commit 67b2944078
28 changed files with 71 additions and 71 deletions

View file

@ -1,47 +1,47 @@
[Rules]
# Uncomment a rule to disable logging for that category
# qt_translator.debug = false // Doesn't work because logging isn't initialized yet in main.cpp
# qt_translator = false
# window_main.debug = false
# release_channel.debug = false
# spoiler_background_updater.debug = false
# theme_manager.debug = false
# sound_engine.debug = false
# tapped_out_interface.debug = false
window_main.* = false
release_channel = false
spoiler_background_updater = false
theme_manager = false
sound_engine = false
# tapped_out_interface = false
# tab_game.debug = false
# tab_message.debug = false
# tab_supervisor.debug = false
# tab_game = false
# tab_message = false
# tab_supervisor = false
# dlg_edit_avatar.debug = false
# dlg_settings.debug = false
# dlg_tip_of_the_day.debug = false
# dlg_update.debug = false
# dlg_edit_avatar = false
# dlg_settings = false
# dlg_tip_of_the_day = false
# dlg_update = false
# settings_cache.debug = false
# servers_settings.debug = false
# shortcuts_settings.debug = false
# settings_cache = false
# servers_settings = false
# shortcuts_settings = false
# player.debug = false
# game_scene.debug = false
# game_scene.debug.player_addition_removal = false
# card_zone.debug = false
# view_zone.debug = false
# player = false
# game_scene = false
# game_scene.player_addition_removal = false
# card_zone = false
# view_zone = false
# user_info_connection.debug = false
# user_info_connection = false
# picture_loader.* = false
# picture_loader.debug = false
# picture_loader.worker.debug = false
# deck_loader.debug = false
# card_database.debug = false
# card_database.debug.loading = false
# card_database.debug.loading.success_or_failure = false
# cockatrice_xml.debug.* = false
# cockatrice_xml.debug.xml_3_parser = false
# cockatrice_xml.debug.xml_4_parser = false
# set_list.debug = false
# card_list.debug = false
picture_loader.* = false
# picture_loader = false
# picture_loader.worker = false
# deck_loader = false
# card_database = false
card_database.loading = false
# card_database.loading.success_or_failure = false
cockatrice_xml.* = false
# cockatrice_xml.xml_3_parser = false
# cockatrice_xml.xml_4_parser = false
# set_list = false
# card_list = false
# filter_string.debug = false
# filter_string = false

View file

@ -8,7 +8,7 @@
#include <QVariantMap>
#include <utility>
inline Q_LOGGING_CATEGORY(ReleaseChannelLog, "release_channel.debug")
inline Q_LOGGING_CATEGORY(ReleaseChannelLog, "release_channel")
class QNetworkReply;
class QNetworkAccessManager;

View file

@ -6,7 +6,7 @@
#include <QObject>
#include <QProcess>
inline Q_LOGGING_CATEGORY(SpoilerBackgroundUpdaterLog, "spoiler_background_updater.debug");
inline Q_LOGGING_CATEGORY(SpoilerBackgroundUpdaterLog, "spoiler_background_updater");
class SpoilerBackgroundUpdater : public QObject
{

View file

@ -8,7 +8,7 @@
#include <QObject>
#include <QString>
inline Q_LOGGING_CATEGORY(SoundEngineLog, "sound_engine.debug");
inline Q_LOGGING_CATEGORY(SoundEngineLog, "sound_engine");
class QBuffer;

View file

@ -12,7 +12,7 @@
#include <QLoggingCategory>
#include <QMap>
inline Q_LOGGING_CATEGORY(TabGameLog, "tab_game.debug");
inline Q_LOGGING_CATEGORY(TabGameLog, "tab_game");
class UserListProxy;
class DeckViewContainer;

View file

@ -5,7 +5,7 @@
#include <QLoggingCategory>
inline Q_LOGGING_CATEGORY(TabMessageLog, "tab_message.debug");
inline Q_LOGGING_CATEGORY(TabMessageLog, "tab_message");
class AbstractClient;
class ChatView;

View file

@ -12,7 +12,7 @@
#include <QProxyStyle>
#include <QTabWidget>
inline Q_LOGGING_CATEGORY(TabSupervisorLog, "tab_supervisor.debug");
inline Q_LOGGING_CATEGORY(TabSupervisorLog, "tab_supervisor");
class UserListManager;
class QMenu;

View file

@ -7,7 +7,7 @@
#include <QLoggingCategory>
#include <QObject>
inline Q_LOGGING_CATEGORY(TappedOutInterfaceLog, "tapped_out_interface.debug")
inline Q_LOGGING_CATEGORY(TappedOutInterfaceLog, "tapped_out_interface")
class QByteArray;
class QNetworkAccessManager;

View file

@ -9,7 +9,7 @@
#include <QPixmap>
#include <QString>
inline Q_LOGGING_CATEGORY(ThemeManagerLog, "theme_manager.debug");
inline Q_LOGGING_CATEGORY(ThemeManagerLog, "theme_manager");
typedef QMap<QString, QString> QStringMap;
typedef QMap<int, QBrush> QBrushMap;

View file

@ -31,11 +31,11 @@
#include <QSystemTrayIcon>
#include <QtNetwork>
inline Q_LOGGING_CATEGORY(WindowMainLog, "window_main.debug");
inline Q_LOGGING_CATEGORY(WindowMainStartupLog, "window_main.debug.startup");
inline Q_LOGGING_CATEGORY(WindowMainStartupVersionLog, "window_main.debug.startup.version");
inline Q_LOGGING_CATEGORY(WindowMainStartupShortcutsLog, "window_main.debug.startup.shortcuts");
inline Q_LOGGING_CATEGORY(WindowMainStartupAutoconnectLog, "window_main.debug.startup.autoconnect");
inline Q_LOGGING_CATEGORY(WindowMainLog, "window_main");
inline Q_LOGGING_CATEGORY(WindowMainStartupLog, "window_main.startup");
inline Q_LOGGING_CATEGORY(WindowMainStartupVersionLog, "window_main.startup.version");
inline Q_LOGGING_CATEGORY(WindowMainStartupShortcutsLog, "window_main.startup.shortcuts");
inline Q_LOGGING_CATEGORY(WindowMainStartupAutoconnectLog, "window_main.startup.autoconnect");
class Release;
class DlgConnect;

View file

@ -6,7 +6,7 @@
#include <QLineEdit>
#include <QLoggingCategory>
inline Q_LOGGING_CATEGORY(DlgEditAvatarLog, "dlg_edit_avatar.debug")
inline Q_LOGGING_CATEGORY(DlgEditAvatarLog, "dlg_edit_avatar")
class QLabel;
class QPushButton;

View file

@ -12,7 +12,7 @@
#include <QPushButton>
#include <QSpinBox>
inline Q_LOGGING_CATEGORY(DlgSettingsLog, "dlg_settings.debug");
inline Q_LOGGING_CATEGORY(DlgSettingsLog, "dlg_settings");
class ShortcutTreeView;
class SearchLineEdit;

View file

@ -10,7 +10,7 @@
#include <QPushButton>
#include <QVBoxLayout>
inline Q_LOGGING_CATEGORY(DlgTipOfTheDayLog, "dlg_tip_of_the_day.debug");
inline Q_LOGGING_CATEGORY(DlgTipOfTheDayLog, "dlg_tip_of_the_day");
class QLabel;
class QPushButton;

View file

@ -8,7 +8,7 @@
#include <QProgressDialog>
#include <QtNetwork>
inline Q_LOGGING_CATEGORY(DlgUpdateLog, "dlg_update.debug");
inline Q_LOGGING_CATEGORY(DlgUpdateLog, "dlg_update");
class Release;

View file

@ -14,10 +14,10 @@
#include <QVector>
#include <utility>
inline Q_LOGGING_CATEGORY(SetListLog, "set_list.debug");
inline Q_LOGGING_CATEGORY(CardDatabaseLog, "card_database.debug");
inline Q_LOGGING_CATEGORY(CardDatabaseLoadingLog, "card_database.debug.loading");
inline Q_LOGGING_CATEGORY(CardDatabaseLoadingSuccessOrFailureLog, "card_database.debug.loading.success_or_failure");
inline Q_LOGGING_CATEGORY(SetListLog, "set_list");
inline Q_LOGGING_CATEGORY(CardDatabaseLog, "card_database");
inline Q_LOGGING_CATEGORY(CardDatabaseLoadingLog, "card_database.loading");
inline Q_LOGGING_CATEGORY(CardDatabaseLoadingSuccessOrFailureLog, "card_database.loading.success_or_failure");
class CardDatabase;
class CardInfo;

View file

@ -6,7 +6,7 @@
#include <QLoggingCategory>
#include <QXmlStreamReader>
inline Q_LOGGING_CATEGORY(CockatriceXml3Log, "cockatrice_xml.debug.xml_3_parser")
inline Q_LOGGING_CATEGORY(CockatriceXml3Log, "cockatrice_xml.xml_3_parser")
class CockatriceXml3Parser : public ICardDatabaseParser
{

View file

@ -6,7 +6,7 @@
#include <QLoggingCategory>
#include <QXmlStreamReader>
inline Q_LOGGING_CATEGORY(CockatriceXml4Log, "cockatrice_xml.debug.xml_4_parser")
inline Q_LOGGING_CATEGORY(CockatriceXml4Log, "cockatrice_xml.xml_4_parser")
class CockatriceXml4Parser : public ICardDatabaseParser
{

View file

@ -4,7 +4,7 @@
#include <QList>
#include <QLoggingCategory>
inline Q_LOGGING_CATEGORY(CardListLog, "card_list.debug");
inline Q_LOGGING_CATEGORY(CardListLog, "card_list");
class CardItem;

View file

@ -10,7 +10,7 @@
#include <functional>
#include <utility>
inline Q_LOGGING_CATEGORY(FilterStringLog, "filter_string.debug");
inline Q_LOGGING_CATEGORY(FilterStringLog, "filter_string");
typedef CardInfoPtr CardData;
typedef std::function<bool(const CardData &)> Filter;

View file

@ -7,8 +7,8 @@
#include <QPointer>
#include <QSet>
inline Q_LOGGING_CATEGORY(GameSceneLog, "game_scene.debug");
inline Q_LOGGING_CATEGORY(GameScenePlayerAdditionRemovalLog, "game_scene.debug.player_addition_removal");
inline Q_LOGGING_CATEGORY(GameSceneLog, "game_scene");
inline Q_LOGGING_CATEGORY(GameScenePlayerAdditionRemovalLog, "game_scene.player_addition_removal");
class Player;
class ZoneViewWidget;

View file

@ -14,7 +14,7 @@
#include <QPoint>
#include <QTimer>
inline Q_LOGGING_CATEGORY(PlayerLog, "player.debug");
inline Q_LOGGING_CATEGORY(PlayerLog, "player");
namespace google
{

View file

@ -8,7 +8,7 @@
#include <QLoggingCategory>
#include <QString>
inline Q_LOGGING_CATEGORY(CardZoneLog, "card_zone.debug");
inline Q_LOGGING_CATEGORY(CardZoneLog, "card_zone");
class Player;
class ZoneViewZone;

View file

@ -7,7 +7,7 @@
#include <QLoggingCategory>
#include <pb/commands.pb.h>
inline Q_LOGGING_CATEGORY(ViewZoneLog, "view_zone.debug")
inline Q_LOGGING_CATEGORY(ViewZoneLog, "view_zone")
class ZoneViewWidget;
class Response;

View file

@ -5,7 +5,7 @@
#include <QLoggingCategory>
inline Q_LOGGING_CATEGORY(QtTranslatorDebug, "qt_translator.debug");
inline Q_LOGGING_CATEGORY(QtTranslatorDebug, "qt_translator");
class CardDatabase;
class QString;

View file

@ -8,7 +8,7 @@
#include <QSettings>
#include <QStandardPaths>
inline Q_LOGGING_CATEGORY(UserInfoConnectionLog, "user_info_connection.debug");
inline Q_LOGGING_CATEGORY(UserInfoConnectionLog, "user_info_connection");
class UserConnection_Information
{

View file

@ -18,7 +18,7 @@
#include <QSize>
#include <QStringList>
inline Q_LOGGING_CATEGORY(SettingsCacheLog, "settings_cache.debug");
inline Q_LOGGING_CATEGORY(SettingsCacheLog, "settings_cache");
class ReleaseChannel;

View file

@ -8,7 +8,7 @@
#define SERVERSETTINGS_DEFAULT_HOST "server.cockatrice.us"
#define SERVERSETTINGS_DEFAULT_PORT "4748"
inline Q_LOGGING_CATEGORY(ServersSettingsLog, "servers_settings.debug");
inline Q_LOGGING_CATEGORY(ServersSettingsLog, "servers_settings");
class ServersSettings : public SettingsManager
{

View file

@ -6,7 +6,7 @@
#include <QLoggingCategory>
#include <QSettings>
inline Q_LOGGING_CATEGORY(ShortcutsSettingsLog, "shortcuts_settings.debug");
inline Q_LOGGING_CATEGORY(ShortcutsSettingsLog, "shortcuts_settings");
class ShortcutGroup
{