From c22bbdf1e8b8271f089792d306016a9548275f5c Mon Sep 17 00:00:00 2001 From: Stefan Constantin Date: Sun, 2 Feb 2020 17:13:00 +0100 Subject: [PATCH] Make syslog_sink constructor compatible to the syslog_sink constructor before commit e68cf1c9ed9aa64d23488bfd970a850a32666733 --- include/spdlog/sinks/syslog_sink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/sinks/syslog_sink.h b/include/spdlog/sinks/syslog_sink.h index 2f4e3fde..9406cce6 100644 --- a/include/spdlog/sinks/syslog_sink.h +++ b/include/spdlog/sinks/syslog_sink.h @@ -20,7 +20,7 @@ class syslog_sink : public base_sink { public: - syslog_sink(std::string ident, int syslog_option, int syslog_facility, bool enable_formatting) + syslog_sink(std::string ident = "", int syslog_option = 0, int syslog_facility = LOG_USER, bool enable_formatting = false) : enable_formatting_{enable_formatting} , syslog_levels_{{/* spdlog::level::trace */ LOG_DEBUG, /* spdlog::level::debug */ LOG_DEBUG,