Function set_error_handler

Synopsis

#include <include/spdlog/logger.h>

void set_error_handler(err_handler)

Description

error handler

Source

Lines 152-155 in include/spdlog/logger-inl.h. Line 315 in include/spdlog/logger.h.

SPDLOG_INLINE void logger::set_error_handler(err_handler handler)
{
    custom_err_handler_ = std::move(handler);
}





Add Discussion

Log in to comment