Function flush_on

Synopsis

#include <include/spdlog/spdlog.h>

SPDLOG_INLINE void flush_on(level::level_enum log_level)

Description

Set global flush level.

Mentioned in

Source

Lines 65-68 in include/spdlog/spdlog-inl.h. Line 80 in include/spdlog/spdlog.h.

SPDLOG_INLINE void flush_on(level::level_enum log_level)
{
    details::registry::instance().flush_on(log_level);
}





Add Discussion

Log in to comment