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
f79f1b18
Commit
f79f1b18
authored
Sep 03, 2019
by
Steffen Vogel
🎅🏼
Browse files
fix Log::getLevelName()
parent
94cc2177
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/log.cpp
View file @
f79f1b18
...
@@ -175,5 +175,7 @@ Log::Level Log::getLevel() const
...
@@ -175,5 +175,7 @@ Log::Level Log::getLevel() const
std
::
string
Log
::
getLevelName
()
const
std
::
string
Log
::
getLevelName
()
const
{
{
return
std
::
string
(
spdlog
::
level
::
to_c_str
(
level
));
auto
sv
=
spdlog
::
level
::
to_string_view
(
level
);
return
std
::
string
(
sv
.
data
());
}
}
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