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

log: add getter for log level

This commit is contained in:
Steffen Vogel 2018-11-01 14:30:32 +01:00
parent d6aef7bdd0
commit ef2dc97c0d
2 changed files with 6 additions and 1 deletions

View file

@ -70,6 +70,8 @@ public:
void setLevel(Level lvl);
void setLevel(const std::string &lvl);
Level getLevel() const;
};
} // namespace villas

View file

@ -152,4 +152,7 @@ void Log::setLevel(const std::string &lvl)
setLevel(level);
}
Log::Level Log::getLevel() const
{
return level;
}