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; } }