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

fix Log::getLevelName()

parent 94cc2177
......@@ -175,5 +175,7 @@ Log::Level Log::getLevel() 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());
}
Markdown is supported
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