aboutsummaryrefslogtreecommitdiff
path: root/launcher/net/Logging.cpp
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-05-14 14:20:24 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-05-14 14:20:24 +0300
commitffcc58cb3e89c502cfc12183d091dd9719ab436c (patch)
treef247a5b6d21cf71ea46782286fadde926db61d84 /launcher/net/Logging.cpp
parentef6cbdfa2ade6a5f1ccb7253c1647ce1e9d5442d (diff)
parentd5c6a1b4d1e6d052e42366d19ffa0047168e030d (diff)
downloadPrismLauncher-ffcc58cb3e89c502cfc12183d091dd9719ab436c.tar.gz
PrismLauncher-ffcc58cb3e89c502cfc12183d091dd9719ab436c.tar.bz2
PrismLauncher-ffcc58cb3e89c502cfc12183d091dd9719ab436c.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into develop
Diffstat (limited to 'launcher/net/Logging.cpp')
-rw-r--r--launcher/net/Logging.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/launcher/net/Logging.cpp b/launcher/net/Logging.cpp
new file mode 100644
index 00000000..a9b9db7c
--- /dev/null
+++ b/launcher/net/Logging.cpp
@@ -0,0 +1,26 @@
+// SPDX-License-Identifier: GPL-3.0-only
+/*
+ * Prism Launcher - Minecraft Launcher
+ * Copyright (C) 2023 Rachel Powers <508861+Ryex@users.noreply.github.com>
+ *
+ * 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 "net/Logging.h"
+
+Q_LOGGING_CATEGORY(taskNetLogC, "launcher.task.net")
+Q_LOGGING_CATEGORY(taskDownloadLogC, "launcher.task.net.download")
+Q_LOGGING_CATEGORY(taskUploadLogC, "launcher.task.net.upload")
+Q_LOGGING_CATEGORY(taskMetaCacheLogC, "launcher.task.net.metacache")
+Q_LOGGING_CATEGORY(taskHttpMetaCacheLogC, "launcher.task.net.metacache.http")