mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
log: improve compatability
This commit is contained in:
parent
cd9e33a6e9
commit
ab1d3a95eb
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ void Log::setLevel(Level lvl)
|
|||
|
||||
void Log::setLevel(const std::string &lvl)
|
||||
{
|
||||
std::list<std::string> l = SPDLOG_LEVEL_NAMES;
|
||||
auto l = SPDLOG_LEVEL_NAMES;
|
||||
|
||||
auto it = std::find(l.begin(), l.end(), lvl);
|
||||
if (it == l.end())
|
||||
|
|
Loading…
Add table
Reference in a new issue