mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-30 01:04:05 +08:00
Clean spdlog.cpp
This commit is contained in:
parent
7fe63d6818
commit
2eeb926306
@ -15,7 +15,7 @@ namespace spdlog {
|
||||
|
||||
static std::shared_ptr s_context =
|
||||
#ifndef SPDLOG_DISABLE_GLOBAL_LOGGER
|
||||
std::make_unique<details::context>(std::make_unique<logger>("", std::make_unique<sinks::stdout_color_sink_mt>()));
|
||||
std::make_unique<details::context>(std::make_unique<logger>(std::string(), std::make_unique<sinks::stdout_color_sink_mt>()));
|
||||
#else
|
||||
std::make_unique<details::context>(); // empty context
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user