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

◆ scribe() [1/2]

template<typename... Args>
void MayaFlux::Journal::scribe ( Severity  severity,
Component  component,
Context  context,
std::source_location  location,
const char *  msg_or_fmt,
Args &&...  args 
)

printf-style overload of scribe().

Parameters
msg_or_fmtThe format string.
argsThe format arguments.

Definition at line 143 of file Archivist.hpp.

145{
146 if constexpr (sizeof...(Args) == 0) {
147 Archivist::instance().scribe(severity, component, context,
148 std::string_view(msg_or_fmt), location);
149 } else {
150 auto msg = format_runtime(msg_or_fmt, std::forward<Args>(args)...);
151 Archivist::instance().scribe(severity, component, context, msg, location);
152 }
153}
std::string severity
Definition Config.cpp:16

References format_runtime(), MayaFlux::Journal::Archivist::instance(), MayaFlux::Journal::Archivist::scribe(), and severity.

+ Here is the call graph for this function: