【发布时间】:2021-10-08 08:35:34
【问题描述】:
我正在使用 VS2019 (16.11.3) 和 Spdlog 1.9.2。
这是我正在使用的代码:
auto logger = std::make_shared<spdlog::logger>("CORE", std::begin(sinks), std::end(sinks));
logger->log(spdlog::level::info, "This works");
std::string test = "testtest";
logger->log(spdlog::level::info, "This does not {}", test);
代码编译并正常工作,但是 VS2019 的 Intellisense 给出了这个错误couldn't match type fmt::format_string<Args...> against const char[17]:
我已经删除了我的 .vs 文件夹并重新启动了 Visual Studio,但无济于事。
我还能做什么?我有什么明显的遗漏吗?
提前致谢。
【问题讨论】:
标签: c++ visual-studio-2019 spdlog