mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
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>
|
||||
{
|
||||
public:
|
||||
explicit systemd_sink(bool enable_formatting)
|
||||
explicit systemd_sink(bool enable_formatting = false)
|
||||
: enable_formatting_{enable_formatting}
|
||||
, syslog_levels_{{/* spdlog::level::trace */ LOG_DEBUG,
|
||||
/* spdlog::level::debug */ LOG_DEBUG,
|
||||
|
Loading…
Reference in New Issue
Block a user