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:
parent
d6aef7bdd0
commit
ef2dc97c0d
2 changed files with 6 additions and 1 deletions
|
@ -70,6 +70,8 @@ public:
|
|||
|
||||
void setLevel(Level lvl);
|
||||
void setLevel(const std::string &lvl);
|
||||
|
||||
Level getLevel() const;
|
||||
};
|
||||
|
||||
} // namespace villas
|
||||
|
|
|
@ -152,4 +152,7 @@ void Log::setLevel(const std::string &lvl)
|
|||
setLevel(level);
|
||||
}
|
||||
|
||||
|
||||
Log::Level Log::getLevel() const
|
||||
{
|
||||
return level;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue