5 #include <unordered_map>
11 #include <spdlog/spdlog.h>
12 #include <spdlog/sinks/stdout_color_sinks.h>
41 spdlog::level::level_enum
parseLevel(std::string lvl);
53 template<
typename FormatString,
typename... Args>
54 inline void log(spdlog::source_loc source, spdlog::level::level_enum lvl,
const FormatString &
fmt, Args&&...args)
59 template<
typename FormatString,
typename... Args>
60 inline void log(spdlog::level::level_enum lvl,
const FormatString &
fmt, Args&&...args)
65 template<
typename FormatString,
typename... Args>
66 inline void trace(
const FormatString &
fmt, Args&&...args)
71 template<
typename FormatString,
typename... Args>
72 inline void debug(
const FormatString &
fmt, Args&&...args)
77 template<
typename FormatString,
typename... Args>
78 inline void info(
const FormatString &
fmt, Args&&...args)
83 template<
typename FormatString,
typename... Args>
84 inline void warn(
const FormatString &
fmt, Args&&...args)
89 template<
typename FormatString,
typename... Args>
90 inline void error(
const FormatString &
fmt, Args&&...args)
95 template<
typename FormatString,
typename... Args>
102 inline void log(spdlog::source_loc source, spdlog::level::level_enum lvl,
const T &msg)
108 inline void log(spdlog::level::level_enum lvl,
const T &msg)