Removed swap from logger and renamed source location macro to SPDLOG_USE_SOURCE_LOCATION

This commit is contained in:
gabime
2023-09-16 00:07:10 +03:00
parent 5882bfd0ad
commit af2f24de07
3 changed files with 4 additions and 37 deletions

View File

@@ -155,7 +155,7 @@ void log(level::level_enum lvl, S fmt, Args &&...args)
default_logger_raw()->log(lvl, fmt, std::forward<Args>(args)...);
}
#ifdef SPDLOG_EMIT_SOURCE_LOCATION
#ifdef SPDLOG_USE_SOURCE_LOCATION
template<typename... Args>
void trace(loc_with_fmt fmt, Args &&...args)
{