diff options
author | GeckoEidechse <gecko.eidechse+git@pm.me> | 2024-08-25 22:55:22 +0200 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2024-08-25 22:55:22 +0200 |
commit | 0804dea2c08d11acb0375ed610a125dfff26631b (patch) | |
tree | 728dc0d4ac2d1c0d8f5a8490e8c45ea69494f927 /primedev/logging | |
parent | af040dfaaefe1155c6ed6a0615ea2c44b2de30b9 (diff) | |
download | NorthstarLauncher-temp/test-spoon-clang-format.tar.gz NorthstarLauncher-temp/test-spoon-clang-format.zip |
temp: format testtemp/test-spoon-clang-format
Diffstat (limited to 'primedev/logging')
-rw-r--r-- | primedev/logging/logging.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/primedev/logging/logging.h b/primedev/logging/logging.h index be41cb39..edfa20dc 100644 --- a/primedev/logging/logging.h +++ b/primedev/logging/logging.h @@ -14,7 +14,11 @@ class ColoredLogger; struct custom_log_msg : spdlog::details::log_msg { public: - custom_log_msg(ColoredLogger* origin, spdlog::details::log_msg msg) : origin(origin), spdlog::details::log_msg(msg) {} + custom_log_msg(ColoredLogger* origin, spdlog::details::log_msg msg) + : origin(origin) + , spdlog::details::log_msg(msg) + { + } ColoredLogger* origin; }; @@ -38,7 +42,8 @@ public: std::vector<std::shared_ptr<CustomSink>> custom_sinks_; - ColoredLogger(std::string name, Color color, bool first = false) : spdlog::logger(*spdlog::default_logger()) + ColoredLogger(std::string name, Color color, bool first = false) + : spdlog::logger(*spdlog::default_logger()) { name_ = std::move(name); if (!first) |