diff --git a/include/spdlog/sinks/async_sink.h b/include/spdlog/sinks/async_sink.h index 47197fc1..35ea6df8 100644 --- a/include/spdlog/sinks/async_sink.h +++ b/include/spdlog/sinks/async_sink.h @@ -39,7 +39,7 @@ public: std::vector> sinks; std::function on_thread_start = nullptr; std::function on_thread_stop = nullptr; - err_handler err_handler = nullptr; + err_handler custom_err_handler = nullptr; }; explicit async_sink(config async_config);