Skip to content

Commit

Permalink
Removed swap from logger and renamed source location macro to SPDLOG_…
Browse files Browse the repository at this point in the history
…USE_SOURCE_LOCATION
  • Loading branch information
gabime committed Sep 15, 2023
1 parent 71f780b commit 2f2303b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2f2303b

Please sign in to comment.