| 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 | |
| 37 | using default_factory = synchronous_factory; |
nothing calls this directly
no test coverage detected