some err handler cleanup

This commit is contained in:
gabime
2019-04-05 23:40:27 +03:00
parent 2aceb13f3e
commit bfbb4e4050
2 changed files with 4 additions and 3 deletions

View File

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