Function error

Summary

#include <include/spdlog/logger.h>

(1) template <typename FormatString, typename... Args>
    void error(const FormatString &fmt, Args &&...args)

(2) template <typename T>
    void error(const T &msg)

Function overload

Synopsis

#include <include/spdlog/logger.h>

template <typename FormatString, typename... Args>
void error(const FormatString &fmt, Args &&...args)

Description

No description yet.

Source

Lines 121-125 in include/spdlog/logger.h.

template<typename FormatString, typename... Args>
void error(const FormatString &fmt, Args &&...args)
{
    log(level::err, fmt, std::forward<Args>(args)...);
}

Synopsis

#include <include/spdlog/logger.h>

template <typename T>
void error(const T &msg)

Description

No description yet.

Source

Lines 211-215 in include/spdlog/logger.h.

template<typename T>
void error(const T &msg)
{
    log(level::err, msg);
}





Add Discussion

Log in to comment