Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 186b7c92 authored by Pino Toscano's avatar Pino Toscano

limit messages shown by default

instead of printing by default all the messages, including debugging
ones, print warnings and more important

this is done to avoid spam debugging messages by default, which then
require manual rules to be disabled when you are not interested in
debugging actual problems in libkdegames itself
parent b0ecc934
......@@ -40,7 +40,7 @@
#define GROUP "KHighscore"
Q_LOGGING_CATEGORY(GAMES_HIGHSCORE, "org.kde.games.highscore")
Q_LOGGING_CATEGORY(GAMES_HIGHSCORE, "org.kde.games.highscore", QtWarningMsg)
class KHighscore::KHighscorePrivate
{
......
......@@ -25,7 +25,7 @@
#include <KConfig>
#include <KConfigGroup>
Q_LOGGING_CATEGORY(GAMES_LIB, "org.kde.games.lib")
Q_LOGGING_CATEGORY(GAMES_LIB, "org.kde.games.lib", QtWarningMsg)
class KgTheme::Private
{
......
......@@ -32,7 +32,7 @@
#undef I18N_NOOP2
#define I18N_NOOP2(ctx,txt) ctx, txt
Q_LOGGING_CATEGORY(GAMES_UI, "org.kde.games.ui")
Q_LOGGING_CATEGORY(GAMES_UI, "org.kde.games.ui", QtWarningMsg)
struct KStandardGameActionInfo
{
......
......@@ -32,7 +32,7 @@
#include <QApplication>
#include <QListView>
Q_LOGGING_CATEGORY(GAMES_BACKGAMMON, "org.kde.games.backgammon")
Q_LOGGING_CATEGORY(GAMES_BACKGAMMON, "org.kde.games.backgammon", QtWarningMsg)
class KChatBasePrivate
{
......
......@@ -43,7 +43,7 @@
#define KGAME_LOAD_COOKIE 4210
Q_LOGGING_CATEGORY(GAMES_PRIVATE_KGAME, "org.kde.games.private.kgame")
Q_LOGGING_CATEGORY(GAMES_PRIVATE_KGAME, "org.kde.games.private.kgame", QtWarningMsg)
// try to place as much as possible here
// many things are *not* possible here as KGame has to use some inline function
......
......@@ -28,7 +28,7 @@
#include <QStandardPaths>
#include <QPixmap>
Q_LOGGING_CATEGORY(GAMES_LIB, "org.kde.games.lib")
Q_LOGGING_CATEGORY(GAMES_LIB, "org.kde.games.lib", QtWarningMsg)
class KGameThemePrivate
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment