95 const std::string &color,
97 const std::string &module_name,
98 const std::string &content);
109 const std::string &color,
111 const std::string &module_name,
112 const std::string &content);
Namespace containing logs utils.
void change_formaters(reformat_func_ptr full, reformat_func_ptr simple)
Changes the log formatter functions.
std::string reformat_all(const std::string &color, const char *name, const std::string &module_name, const std::string &content)
Format a log message with all the information.
std::string(*)(const ReformatArgs &args) reformat_func_ptr
A pointer to a log formatter function.
std::string reformat_simple(const std::string &color, const char *name, const std::string &module_name, const std::string &content)
Format a log message with the minimum information.
void throw_with_loc(std::string message, SourceLocation loc=SourceLocation{})
Throw an exception and append the source location to it.