mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 02:21:34 +08:00
Removed swap from logger and renamed source location macro to SPDLOG_USE_SOURCE_LOCATION
This commit is contained in:
parent
af2f24de07
commit
a7a537216c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user