Fixed soruce location macro names

This commit is contained in:
gabime 2023-09-16 17:29:41 +03:00
parent 3979bd15f7
commit c0c1b49fa3
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -1,4 +1,4 @@
#define SPDLOG_USE_SOURCE_LOCATION #define SPDLOG_EMIT_SOURCE_LOCATION
#include "includes.h" #include "includes.h"
#include "test_sink.h" #include "test_sink.h"