Function set_default_logger

Synopsis

#include <include/spdlog/spdlog.h>

SPDLOG_INLINE void set_default_logger(std::shared_ptr< spdlog::logger > default_logger)

Description

No description yet.

Mentioned in

Source

Lines 120-123 in include/spdlog/spdlog-inl.h. Line 128 in include/spdlog/spdlog.h.

SPDLOG_INLINE void set_default_logger(std::shared_ptr<spdlog::logger> default_logger)
{
    details::registry::instance().set_default_logger(std::move(default_logger));
}





Add Discussion

Log in to comment