Fixed global logger name

This commit is contained in:
gabime 2025-01-17 20:26:47 +02:00
parent 07be1b4767
commit e99e09eba7

View File

@ -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