diff options
author | Northstar <northstar@northstar.tf> | 2024-08-26 15:18:56 +0200 |
---|---|---|
committer | Northstar <northstar@northstar.tf> | 2024-08-26 15:18:56 +0200 |
commit | 6e9792f3651d1e0c7045c5d67312c10f91ce6962 (patch) | |
tree | 728dc0d4ac2d1c0d8f5a8490e8c45ea69494f927 /primedev/logging | |
parent | f6915dc331685574289e7b45e5d2d36b530f50f3 (diff) | |
download | NorthstarLauncher-6e9792f3651d1e0c7045c5d67312c10f91ce6962.tar.gz NorthstarLauncher-6e9792f3651d1e0c7045c5d67312c10f91ce6962.zip |
Format project
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) |