mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 09:59:33 +08:00
Removed swap from logger and renamed source location macro to SPDLOG_USE_SOURCE_LOCATION
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user