Function set_automatic_registration

Synopsis

#include <include/spdlog/spdlog.h>

SPDLOG_INLINE void set_automatic_registration(bool automatic_registration)

Description

Automatic registration of loggers when using spdlog::create() or spdlog::create_async.

Source

Lines 105-108 in include/spdlog/spdlog-inl.h. Line 107 in include/spdlog/spdlog.h.

SPDLOG_INLINE void set_automatic_registration(bool automatic_registration)
{
    details::registry::instance().set_automatic_registration(automatic_registration);
}





Add Discussion

Log in to comment