Commit bd22f513 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

log: add getter for log level

parent ceccbb60
...@@ -70,6 +70,8 @@ public: ...@@ -70,6 +70,8 @@ public:
void setLevel(Level lvl); void setLevel(Level lvl);
void setLevel(const std::string &lvl); void setLevel(const std::string &lvl);
Level getLevel() const;
}; };
} // namespace villas } // namespace villas
...@@ -152,4 +152,7 @@ void Log::setLevel(const std::string &lvl) ...@@ -152,4 +152,7 @@ void Log::setLevel(const std::string &lvl)
setLevel(level); setLevel(level);
} }
Log::Level Log::getLevel() const
{
return level;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment