Function flush_

Synopsis

#include <include/spdlog/logger.h>

void flush_()

Description

No description yet.

Source

Lines 198-208 in include/spdlog/logger-inl.h. Line 352 in include/spdlog/logger.h.

SPDLOG_INLINE void logger::flush_()
{
    for (auto &sink : sinks_)
    {
        SPDLOG_TRY
        {
            sink->flush();
        }
        SPDLOG_LOGGER_CATCH()
    }
}





Add Discussion

Log in to comment