fixup! Add option to enable formatting of systemd sink
Add default value to "systemd_sink" contructor
This commit is contained in:
parent
3c1ee54112
commit
c1aeefb0c9
@ -23,7 +23,7 @@ template<typename Mutex>
|
|||||||
class systemd_sink : public base_sink<Mutex>
|
class systemd_sink : public base_sink<Mutex>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit systemd_sink(bool enable_formatting)
|
explicit systemd_sink(bool enable_formatting = false)
|
||||||
: enable_formatting_{enable_formatting}
|
: enable_formatting_{enable_formatting}
|
||||||
, syslog_levels_{{/* spdlog::level::trace */ LOG_DEBUG,
|
, syslog_levels_{{/* spdlog::level::trace */ LOG_DEBUG,
|
||||||
/* spdlog::level::debug */ LOG_DEBUG,
|
/* spdlog::level::debug */ LOG_DEBUG,
|
||||||
|
Loading…
Reference in New Issue
Block a user