|
|
|
@ -77,10 +77,6 @@ inline void spdlog::logger::log(level::level_enum lvl, const char* fmt, const Ar
|
|
|
|
|
{
|
|
|
|
|
_err_handler(ex.what());
|
|
|
|
|
}
|
|
|
|
|
SPDLOG_CATCH_ALL
|
|
|
|
|
{
|
|
|
|
|
_err_handler("Unknown exception");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
template <typename... Args>
|
|
|
|
@ -97,11 +93,6 @@ inline void spdlog::logger::log(level::level_enum lvl, const char* msg)
|
|
|
|
|
{
|
|
|
|
|
_err_handler(ex.what());
|
|
|
|
|
}
|
|
|
|
|
SPDLOG_CATCH_ALL
|
|
|
|
|
{
|
|
|
|
|
_err_handler("Unknown exception");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
template<typename T>
|
|
|
|
@ -118,10 +109,6 @@ inline void spdlog::logger::log(level::level_enum lvl, const T& msg)
|
|
|
|
|
{
|
|
|
|
|
_err_handler(ex.what());
|
|
|
|
|
}
|
|
|
|
|
SPDLOG_CATCH_ALL
|
|
|
|
|
{
|
|
|
|
|
_err_handler("Unknown exception");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -571,4 +558,3 @@ inline const std::vector<spdlog::sink_ptr>& spdlog::logger::sinks() const
|
|
|
|
|
return _sinks;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#undef SPDLOG_CATCH_ALL
|
|
|
|
|