mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +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>
|
||||
{
|
||||
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,
|
||||
|
Reference in New Issue
Block a user