mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Added custom error handler support to async sink
This commit is contained in:
@@ -18,6 +18,5 @@ public:
|
||||
void handle_unknown_ex(const std::string& origin, const source_loc& loc) const noexcept;
|
||||
void set_err_handler(err_handler handler);
|
||||
};
|
||||
|
||||
|
||||
}} // namespace spdlog::details
|
||||
} // namespace details
|
||||
} // namespace spdlog
|
||||
|
@@ -42,7 +42,7 @@ public:
|
||||
err_handler custom_err_handler = nullptr;
|
||||
};
|
||||
|
||||
explicit async_sink(config async_config);
|
||||
explicit async_sink(const config &async_config);
|
||||
|
||||
// create an async_sink with one backend sink
|
||||
template <typename Sink, typename... SinkArgs>
|
||||
|
Reference in New Issue
Block a user