mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 10:29:02 +08:00
Fixed global logger name
This commit is contained in:
@@ -15,7 +15,7 @@ namespace spdlog {
|
||||
|
||||
|
||||
#ifndef SPDLOG_DISABLE_GLOBAL_LOGGER
|
||||
static std::shared_ptr<logger> s_logger = std::make_shared<logger>("global", std::make_shared<sinks::stdout_color_sink_mt>());
|
||||
static std::shared_ptr<logger> s_logger = std::make_shared<logger>("", std::make_shared<sinks::stdout_color_sink_mt>());
|
||||
#else
|
||||
static std::short_ptr<logger> s_logger = nullptr;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user