Static Public Member Functions | List of all members
spdlog::synchronous_factory Struct Reference

#include <spdlog.h>

Static Public Member Functions

template<typename Sink , typename... SinkArgs>
static std::shared_ptr< spdlog::loggercreate (std::string logger_name, SinkArgs &&...args)
 

Detailed Description

Definition at line 25 of file spdlog.h.

Member Function Documentation

template<typename Sink , typename... SinkArgs>
static std::shared_ptr<spdlog::logger> spdlog::synchronous_factory::create ( std::string  logger_name,
SinkArgs &&...  args 
)
inlinestatic

Definition at line 28 of file spdlog.h.

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));
33  return new_logger;
34  }
static registry & instance()
Definition: registry.h:228
static QCString args
Definition: declinfo.cpp:674
def move(depos, offset)
Definition: depos.py:107
void initialize_logger(std::shared_ptr< logger > new_logger)
Definition: registry.h:48

The documentation for this struct was generated from the following file: