From c1aeefb0c96d64fd5e6a2b881ea8a756ec0d1858 Mon Sep 17 00:00:00 2001 From: Delgan Date: Tue, 29 Mar 2022 22:26:47 +0200 Subject: [PATCH] fixup! Add option to enable formatting of systemd sink Add default value to "systemd_sink" contructor --- include/spdlog/sinks/systemd_sink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/sinks/systemd_sink.h b/include/spdlog/sinks/systemd_sink.h index 9e908b6f..d61c4989 100644 --- a/include/spdlog/sinks/systemd_sink.h +++ b/include/spdlog/sinks/systemd_sink.h @@ -23,7 +23,7 @@ template class systemd_sink : public base_sink { 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,