Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
VILLASframework
VILLAScommon
Commits
bd22f513
Commit
bd22f513
authored
Nov 01, 2018
by
Steffen Vogel
🎅🏼
Browse files
log: add getter for log level
parent
ceccbb60
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/villas/log.hpp
View file @
bd22f513
...
...
@@ -70,6 +70,8 @@ public:
void
setLevel
(
Level
lvl
);
void
setLevel
(
const
std
::
string
&
lvl
);
Level
getLevel
()
const
;
};
}
// namespace villas
lib/log.cpp
View file @
bd22f513
...
...
@@ -152,4 +152,7 @@ void Log::setLevel(const std::string &lvl)
setLevel
(
level
);
}
Log
::
Level
Log
::
getLevel
()
const
{
return
level
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment