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
c73c9ce5
Commit
c73c9ce5
authored
Jul 01, 2020
by
Steffen Vogel
🎅🏼
Browse files
fix includes and spdlog API
parent
fe3413e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/log.cpp
View file @
c73c9ce5
...
...
@@ -23,6 +23,7 @@
#include
<list>
#include
<algorithm>
#include
<spdlog/spdlog.h>
#include
<spdlog/sinks/syslog_sink.h>
#include
<spdlog/sinks/basic_file_sink.h>
...
...
@@ -113,7 +114,7 @@ void Log::parse(json_t *cfg)
}
if
(
syslog
)
{
auto
sink
=
std
::
make_shared
<
spdlog
::
sinks
::
syslog_sink_mt
>
(
"villas"
,
LOG_PID
,
LOG_DAEMON
);
auto
sink
=
std
::
make_shared
<
spdlog
::
sinks
::
syslog_sink_mt
>
(
"villas"
,
LOG_PID
,
LOG_DAEMON
,
true
);
sinks
->
add_sink
(
sink
);
}
...
...
lib/memory.cpp
View file @
c73c9ce5
...
...
@@ -21,6 +21,8 @@
*********************************************************************************/
#include
<sys/mman.h>
#include
<fcntl.h>
#include
<unistd.h>
#include
<sstream>
...
...
Niklas Eiling
@niklas.eiling
mentioned in issue
#3 (closed)
·
Jul 03, 2020
mentioned in issue
#3 (closed)
mentioned in issue #3
Toggle commit list
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