1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

fix Log::getLevelName()

This commit is contained in:
Steffen Vogel 2019-09-03 23:01:00 +02:00
parent 6430839645
commit f24c9ead04

View file

@ -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());
}