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:15 +03:00
parent af2f24de07
commit a7a537216c

View File

@ -27,7 +27,7 @@ void custom_flags_example();
void file_events_example();
void replace_default_logger_example();
//#define SPDLOG_EMIT_SOURCE_LOCATION // define if you want to log the source file/line/function name.
#define SPDLOG_USE_SOURCE_LOCATION
#include "spdlog/spdlog.h"
#include "spdlog/cfg/env.h" // support for loading levels from the environment variable