From da3f3da92c96b24174bc544e3c0f75aa432b7d50 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sun, 22 Mar 2020 02:30:15 +0200 Subject: [PATCH] Update win_eventlog_sink.h --- include/spdlog/sinks/win_eventlog_sink.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/spdlog/sinks/win_eventlog_sink.h b/include/spdlog/sinks/win_eventlog_sink.h index 9610126a..384fa9eb 100644 --- a/include/spdlog/sinks/win_eventlog_sink.h +++ b/include/spdlog/sinks/win_eventlog_sink.h @@ -175,8 +175,7 @@ struct eventlog return EVENTLOG_ERROR_TYPE; default: - // should be unreachable - throw_spdlog_ex(fmt::format("Unsupported log level {}", msg.level)); + return EVENTLOG_INFORMATION_TYPE; } }