Template Function wrench::log_warn

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 the fmt_args, if the LogLevel of the logger is less than or equal to LogLevel::warn. The format and fmt_args should be specified as they would to std::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.