Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我们如下构建我们的 spdlog 对象?
logger = std::make_shared<spdlog::logger>("some name", sink_list.begin(), sink_list.end());
是否有诸如logger->get_name()或其他任何方法会返回“某个名称”
logger->get_name()
有。
logger->name()
(来源)