Template Function wrench::log_warn¶
Defined in File logger.hpp
Function Documentation¶
-
template<typename Fmt, typename... FmtArgs> auto wrench::log_warn (Fmt &&format, FmtArgs &&... fmt_args) -> void
Logs the
format
format specifier, filling in the format string with thefmt_args
, if the LogLevel of the logger is less than or equal to LogLevel::warn. Theformat
andfmt_args
should be specified as they would tostd::format()
.- Parameters
format
: The format specifier for the message.fmt_args
: The arguments for the format specifier.
- Template Parameters
Fmt
: The type of the format specifier.FmtArgs
: The types of the format arguments.