Template Function ripple::log_error¶
Defined in File logger.hpp
Function Documentation¶
-
template<typename
Fmt
, typename ...FmtArgs
>
autoripple
::
log_error
(Fmt &&format, FmtArgs&&... fmt_args) noexcept -> void¶ Logs the format specifier, filling in the format string with the fmt_args, if the LogLevel of the logger is less than or equal to LogLevel::error.
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.