MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ fatal() [1/2]

template<typename... Args>
void MayaFlux::Journal::fatal ( Component  component,
Context  context,
std::source_location  location,
format_string< Args... >  fmt_str,
Args &&...  args 
)

fmt-style overload of fatal().

Template Parameters
ArgsTypes of the format arguments.
Parameters
fmt_strThe format string.
argsThe format arguments.

Definition at line 249 of file Archivist.hpp.

251{
252 auto msg = format(fmt_str, std::forward<Args>(args)...);
253 Archivist::instance().scribe(Severity::FATAL, component, context, msg, location);
254 std::abort();
255}
std::string format(format_string< std::remove_cvref_t< Args >... > fmt_str, Args &&... args)
Definition Format.hpp:30

References FATAL, format(), MayaFlux::Journal::Archivist::instance(), and MayaFlux::Journal::Archivist::scribe().

+ Here is the call graph for this function: