MCPcopy Create free account
hub / github.com/PeterFWS/Structure-PLP-SLAM / create

Method create

3rd/spdlog/include/spdlog/spdlog.h:28–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26{
27 template<typename Sink, typename... SinkArgs>
28 static std::shared_ptr<spdlog::logger> create(std::string logger_name, SinkArgs &&... args)
29 {
30 auto sink = std::make_shared<Sink>(std::forward<SinkArgs>(args)...);
31 auto new_logger = std::make_shared<logger>(std::move(logger_name), std::move(sink));
32 details::registry::instance().initialize_logger(new_logger);
33 return new_logger;
34 }
35};
36
37using default_factory = synchronous_factory;

Callers

nothing calls this directly

Calls 1

initialize_loggerMethod · 0.80

Tested by

no test coverage detected