Function log

Summary

#include <include/spdlog/spdlog.h>

(1) template <typename FormatString, typename... Args>
    void log(source_loc source, level::level_enum lvl, const FormatString &fmt, Args &&...args)

(2) template <typename FormatString, typename... Args>
    void log(level::level_enum lvl, const FormatString &fmt, Args &&...args)

(3) template <typename T>
    void log(source_loc source, level::level_enum lvl, const T &msg)

(4) template <typename T>
    void log(level::level_enum lvl, const T &msg)

Function overload

Synopsis

#include <include/spdlog/spdlog.h>

template <typename FormatString, typename... Args>
void log(source_loc source, level::level_enum lvl, const FormatString &fmt, Args &&...args)

Description

No description yet.

Source

Lines 130-134 in include/spdlog/spdlog.h.

template<typename FormatString, typename... Args>
inline void log(source_loc source, level::level_enum lvl, const FormatString &fmt, Args&&...args)
{
    default_logger_raw()->log(source, lvl, fmt, std::forward<Args>(args)...);
}

Synopsis

#include <include/spdlog/spdlog.h>

template <typename FormatString, typename... Args>
void log(level::level_enum lvl, const FormatString &fmt, Args &&...args)

Description

No description yet.

Source

Lines 136-140 in include/spdlog/spdlog.h.

template<typename FormatString, typename... Args>
inline void log(level::level_enum lvl, const FormatString &fmt, Args&&...args)
{
    default_logger_raw()->log(source_loc{}, lvl, fmt, std::forward<Args>(args)...);
}

Synopsis

#include <include/spdlog/spdlog.h>

template <typename T>
void log(source_loc source, level::level_enum lvl, const T &msg)

Description

No description yet.

Source

Lines 178-182 in include/spdlog/spdlog.h.

template<typename T>
inline void log(source_loc source, level::level_enum lvl, const T &msg)
{
    default_logger_raw()->log(source, lvl, msg);
}

Synopsis

#include <include/spdlog/spdlog.h>

template <typename T>
void log(level::level_enum lvl, const T &msg)

Description

No description yet.

Source

Lines 184-188 in include/spdlog/spdlog.h.

template<typename T>
inline void log(level::level_enum lvl, const T &msg)
{
    default_logger_raw()->log(lvl, msg);
}





Add Discussion

Log in to comment