diff --git a/lib/utilities/SpdLogger.cpp b/lib/utilities/SpdLogger.cpp index fa7430f..c04512d 100644 --- a/lib/utilities/SpdLogger.cpp +++ b/lib/utilities/SpdLogger.cpp @@ -71,6 +71,5 @@ void SpdLogger::ChangeLevel(LogLevel lvl) // you will only get this message for log levels <= info! I.e., not for error or warning. this->logger_->info( - std::format("{}: Changed log level to {}({})", __FUNCTION__, LogLevelToString(lvl), static_cast(lvl)) - .c_str()); + std::format("{}: Changed log level to {}({})", __FUNCTION__, LogLevelToString(lvl), static_cast(lvl))); }