summary refs log tree commit diff
path: root/src/Logging.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-02-19 23:17:21 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2023-02-19 23:17:21 +0100
commita1c48893397b4055f2aad1caf46b1d024c3d52ac (patch)
treedf97bf787de6afa492144bcceeead60bc92b975c /src/Logging.cpp
parentFix flatpak bundle upload (diff)
downloadnheko-a1c48893397b4055f2aad1caf46b1d024c3d52ac.tar.xz
Remove a few more unused symbols
Diffstat (limited to 'src/Logging.cpp')
-rw-r--r--src/Logging.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Logging.cpp b/src/Logging.cpp
index 46df8399..60247c0c 100644
--- a/src/Logging.cpp
+++ b/src/Logging.cpp
@@ -19,14 +19,14 @@
 #include <mtx/log.hpp>
 
 namespace {
-std::shared_ptr<spdlog::logger> db_logger     = nullptr;
-std::shared_ptr<spdlog::logger> net_logger    = nullptr;
-std::shared_ptr<spdlog::logger> crypto_logger = nullptr;
-std::shared_ptr<spdlog::logger> ui_logger     = nullptr;
-std::shared_ptr<spdlog::logger> qml_logger    = nullptr;
-
-constexpr auto MAX_FILE_SIZE = 1024 * 1024 * 6;
-constexpr auto MAX_LOG_FILES = 3;
+static std::shared_ptr<spdlog::logger> db_logger     = nullptr;
+static std::shared_ptr<spdlog::logger> net_logger    = nullptr;
+static std::shared_ptr<spdlog::logger> crypto_logger = nullptr;
+static std::shared_ptr<spdlog::logger> ui_logger     = nullptr;
+static std::shared_ptr<spdlog::logger> qml_logger    = nullptr;
+
+static constexpr auto MAX_FILE_SIZE = 1024 * 1024 * 6;
+static constexpr auto MAX_LOG_FILES = 3;
 
 void
 qmlMessageHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg)