mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 02:19:35 +08:00
Removed swap from logger and renamed source location macro to SPDLOG_USE_SOURCE_LOCATION
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user