mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
some err handler cleanup
This commit is contained in:
@@ -113,7 +113,7 @@ SPDLOG_INLINE std::vector<spdlog::sink_ptr> &spdlog::logger::sinks()
|
||||
}
|
||||
|
||||
// error handler
|
||||
SPDLOG_INLINE void spdlog::logger::set_error_handler(void (*handler)(const std::string &msg))
|
||||
SPDLOG_INLINE void spdlog::logger::set_error_handler(err_handler handler)
|
||||
{
|
||||
custom_err_handler_ = handler;
|
||||
}
|
||||
|
Reference in New Issue
Block a user