Function stdout_logger_mt

Synopsis

#include <include/spdlog/sinks/stdout_sinks-inl.h>

template <typename Factory>
SPDLOG_INLINE std::shared_ptr< logger > stdout_logger_mt(const std::string &logger_name)

Description

factory methods

Mentioned in

Source

Lines 116-120 in include/spdlog/sinks/stdout_sinks-inl.h.

template<typename Factory>
SPDLOG_INLINE std::shared_ptr<logger> stdout_logger_mt(const std::string &logger_name)
{
    return Factory::template create<sinks::stdout_sink_mt>(logger_name);
}





Add Discussion

Log in to comment