10 class MANDRILL_API
Log
21 static void log(Level level,
const std::string msg);
29 template <
typename... Args>
inline static void Info(std::format_string<Args...> format, Args&&... args)
31 log(Level::Info, std::format(format, std::forward<Args>(args)...));
40 template <
typename... Args>
inline static void Debug(std::format_string<Args...> format, Args&&... args)
43 log(Level::Debug, std::format(format, std::forward<Args>(args)...));
53 template <
typename... Args>
inline static void Warning(std::format_string<Args...> format, Args&&... args)
55 log(Level::Warning, std::format(format, std::forward<Args>(args)...));
64 template <
typename... Args>
inline static void Error(std::format_string<Args...> format, Args&&... args)
66 log(Level::Error, std::format(format, std::forward<Args>(args)...));
Log class for logging messages in Mandrill.
Definition Log.h:11
static void Debug(std::format_string< Args... > format, Args &&... args)
Log a debug message using format strings. This does not print message in release mode.
Definition Log.h:40
static void Info(std::format_string< Args... > format, Args &&... args)
Log an information message using format strings.
Definition Log.h:29
static void Warning(std::format_string< Args... > format, Args &&... args)
Log a warning message using format strings.
Definition Log.h:53
static void Error(std::format_string< Args... > format, Args &&... args)
Log an error message using format strings.
Definition Log.h:64