mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
fixup! Add option to enable formatting of systemd sink
Add default value to "systemd_sink" contructor
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user