|
|
@ -102,6 +102,12 @@ inline void spdlog::logger::log(level::level_enum lvl, const char *msg)
|
|
|
|
log(source_loc{}, lvl, msg);
|
|
|
|
log(source_loc{}, lvl, msg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
template<class T>
|
|
|
|
|
|
|
|
inline void spdlog::logger::log(level::level_enum lvl, const T &msg)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
log(source_loc{}, lvl, msg);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
template<class T, typename std::enable_if<std::is_convertible<T, spdlog::string_view_t>::value, T>::type *>
|
|
|
|
template<class T, typename std::enable_if<std::is_convertible<T, spdlog::string_view_t>::value, T>::type *>
|
|
|
|
inline void spdlog::logger::log(source_loc source, level::level_enum lvl, const T &msg)
|
|
|
|
inline void spdlog::logger::log(source_loc source, level::level_enum lvl, const T &msg)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -117,12 +123,6 @@ inline void spdlog::logger::log(source_loc source, level::level_enum lvl, const
|
|
|
|
SPDLOG_CATCH_AND_HANDLE
|
|
|
|
SPDLOG_CATCH_AND_HANDLE
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
template<class T, typename std::enable_if<std::is_convertible<T, spdlog::string_view_t>::value, T>::type *>
|
|
|
|
|
|
|
|
inline void spdlog::logger::log(level::level_enum lvl, const T &msg)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
log(source_loc{}, lvl, msg);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
template<class T, typename std::enable_if<!std::is_convertible<T, spdlog::string_view_t>::value, T>::type *>
|
|
|
|
template<class T, typename std::enable_if<!std::is_convertible<T, spdlog::string_view_t>::value, T>::type *>
|
|
|
|
inline void spdlog::logger::log(source_loc source, level::level_enum lvl, const T &msg)
|
|
|
|
inline void spdlog::logger::log(source_loc source, level::level_enum lvl, const T &msg)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -141,12 +141,6 @@ inline void spdlog::logger::log(source_loc source, level::level_enum lvl, const
|
|
|
|
SPDLOG_CATCH_AND_HANDLE
|
|
|
|
SPDLOG_CATCH_AND_HANDLE
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
template<class T, typename std::enable_if<!std::is_convertible<T, spdlog::string_view_t>::value, T>::type *>
|
|
|
|
|
|
|
|
inline void spdlog::logger::log(level::level_enum lvl, const T &msg)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
log(source_loc{}, lvl, msg);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
template<typename... Args>
|
|
|
|
template<typename... Args>
|
|
|
|
inline void spdlog::logger::trace(const char *fmt, const Args &... args)
|
|
|
|
inline void spdlog::logger::trace(const char *fmt, const Args &... args)
|
|
|
|
{
|
|
|
|
{
|
|
|
|