aboutsummaryrefslogtreecommitdiff
path: root/launcher/Logging.cpp
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-12-27 17:04:42 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2022-12-27 17:04:42 +0100
commitc8d8046412467d10abd439bf2066b2304122d7c6 (patch)
treeadb0a9a2b0a61c2246845c1452414158c58b4c4a /launcher/Logging.cpp
parent4d334b645d0e230c19fa4756a4cbec28dce744d7 (diff)
downloadPrismLauncher-c8d8046412467d10abd439bf2066b2304122d7c6.tar.gz
PrismLauncher-c8d8046412467d10abd439bf2066b2304122d7c6.tar.bz2
PrismLauncher-c8d8046412467d10abd439bf2066b2304122d7c6.zip
refactor: add logging category for credentials
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/Logging.cpp')
-rw-r--r--launcher/Logging.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/launcher/Logging.cpp b/launcher/Logging.cpp
new file mode 100644
index 00000000..d0e30473
--- /dev/null
+++ b/launcher/Logging.cpp
@@ -0,0 +1,22 @@
+// SPDX-License-Identifier: GPL-3.0-only
+/*
+ * PolyMC - Minecraft Launcher
+ * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, version 3.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+
+#include "Logging.h"
+
+Q_LOGGING_CATEGORY(authCredentials, "launcher.auth.credentials", QtWarningMsg)