diff --git a/example/example.cpp b/example/example.cpp index 2b88bf56..52e265aa 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