Commit f79f1b18 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

fix Log::getLevelName()

parent 94cc2177
...@@ -175,5 +175,7 @@ Log::Level Log::getLevel() const ...@@ -175,5 +175,7 @@ Log::Level Log::getLevel() const
std::string Log::getLevelName() const std::string Log::getLevelName() const
{ {
return std::string(spdlog::level::to_c_str(level)); auto sv = spdlog::level::to_string_view(level);
return std::string(sv.data());
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment