mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-22 18:32:17 -07:00
Move logging from QDebug to QCDebug and introduce LoggingCategories.
This commit is contained in:
parent
92a903b035
commit
710f7b0f07
63 changed files with 262 additions and 123 deletions
|
|
@ -24,12 +24,19 @@
|
|||
#include "pb/response.pb.h"
|
||||
|
||||
#include <QList>
|
||||
#include <QLoggingCategory>
|
||||
#include <QMainWindow>
|
||||
#include <QMessageBox>
|
||||
#include <QProcess>
|
||||
#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");
|
||||
|
||||
class Release;
|
||||
class DlgConnect;
|
||||
class DlgViewLog;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue