From 2f2303b283fa49d2f76d6c959d02509ebe92afed Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 16 Sep 2023 00:07:15 +0300 Subject: [PATCH] Removed swap from logger and renamed source location macro to SPDLOG_USE_SOURCE_LOCATION --- example/example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/example.cpp b/example/example.cpp index 2b88bf567..52e265aa8 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -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