From b9726ba66dea7f3d920c2d1c13e95f26f7912d71 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Mon, 13 Apr 2020 21:12:42 +0300 Subject: [PATCH] Update syslog_sink.h --- include/spdlog/sinks/syslog_sink.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/spdlog/sinks/syslog_sink.h b/include/spdlog/sinks/syslog_sink.h index b1af2071..7c38fcb5 100644 --- a/include/spdlog/sinks/syslog_sink.h +++ b/include/spdlog/sinks/syslog_sink.h @@ -93,14 +93,14 @@ using syslog_sink_st = syslog_sink; } // namespace sinks // Create and register a syslog logger -template +template inline std::shared_ptr syslog_logger_mt(const std::string &logger_name, const std::string &syslog_ident = "", int syslog_option = 0, int syslog_facility = LOG_USER, bool enable_formatting = false) { return Factory::template create(logger_name, syslog_ident, syslog_option, syslog_facility, enable_formatting); } -template +template inline std::shared_ptr syslog_logger_st(const std::string &logger_name, const std::string &syslog_ident = "", int syslog_option = 0, int syslog_facility = LOG_USER, bool enable_formatting = false) {