Some cleanup

This commit is contained in:
Maximilian Kueffner
2025-08-17 21:51:13 +02:00
parent 88cc7363c6
commit 5e06f767e9
7 changed files with 23 additions and 24 deletions
+5 -5
View File
@@ -19,12 +19,12 @@ SpdLogger::SpdLogger(const std::string& file_sink, const std::string& name)
logger_->info("Logger initiated");
}
void SpdLogger::Info(const std::string& msg) { this->logger_->info(msg); }
void SpdLogger::Debug(const std::string& msg) { this->logger_->debug(msg); }
void SpdLogger::Warn(const std::string& msg) { this->logger_->warn(msg); }
void SpdLogger::Error(const std::string& msg) { this->logger_->error(msg); }
void SpdLogger::Info(const std::string& msg) const { this->logger_->info(msg); }
void SpdLogger::Debug(const std::string& msg) const { this->logger_->debug(msg); }
void SpdLogger::Warn(const std::string& msg) const { this->logger_->warn(msg); }
void SpdLogger::Error(const std::string& msg) const { this->logger_->error(msg); }
void SpdLogger::ChangeLevel(LogLevel lvl)
void SpdLogger::ChangeLevel(LogLevel lvl) const
{
constexpr auto LogLevelToString = [](LogLevel l) -> const char*
{