Commented out problematic gcc-9 log(..) overrides

This commit is contained in:
gabime 2024-11-29 10:18:07 +02:00
parent 30f0681ab4
commit 850ee25648

View File

@ -143,15 +143,15 @@ inline void log(level lvl, format_string_t<Args...> fmt, Args &&...args) {
default_logger_raw()->log(lvl, fmt, std::forward<Args>(args)...);
}
template <typename S, typename = is_convertible_to_sv<S>, typename... Args>
inline void log(source_loc loc, level lvl, S fmt, Args &&...args) {
default_logger_raw()->log(loc, lvl, fmt, std::forward<Args>(args)...);
}
template <typename S, typename = is_convertible_to_sv<S>, typename... Args>
inline void log(level lvl, S fmt, Args &&...args) {
default_logger_raw()->log(lvl, fmt, std::forward<Args>(args)...);
}
// template <typename S, typename = is_convertible_to_sv<S>, typename... Args>
// inline void log(source_loc loc, level lvl, S fmt, Args &&...args) {
// default_logger_raw()->log(loc, lvl, fmt, std::forward<Args>(args)...);
// }
//
// template <typename S, typename = is_convertible_to_sv<S>, typename... Args>
// inline void log(level lvl, S fmt, Args &&...args) {
// default_logger_raw()->log(lvl, fmt, std::forward<Args>(args)...);
// }
#ifdef SPDLOG_SOURCE_LOCATION
template <typename... Args>