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:
parent
6430839645
commit
f24c9ead04
1 changed files with 3 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue