aboutsummaryrefslogtreecommitdiff
path: root/launcher/Logging.h
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.h
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.h')
-rw-r--r--launcher/Logging.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/launcher/Logging.h b/launcher/Logging.h
new file mode 100644
index 00000000..0fcb30b7
--- /dev/null
+++ b/launcher/Logging.h
@@ -0,0 +1,24 @@
+// 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/>.
+ *
+ */
+
+#pragma once
+
+#include <QLoggingCategory>
+
+Q_DECLARE_LOGGING_CATEGORY(authCredentials)