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

◆ scribe()

void MayaFlux::Journal::Archivist::scribe ( Severity  severity,
Component  component,
Context  context,
std::string_view  message,
std::source_location  location = std::source_location::current() 
)

Log a message with the specified severity, component, and context.

This method captures the source location automatically.

Parameters
severityThe severity level of the log message.
componentThe component generating the log message.
contextThe execution context of the log message.
messageThe log message content.
locationThe source location (file, line, function) of the log call.

Definition at line 378 of file Archivist.cpp.

380{
381 JournalEntry entry(severity, component, context, message, location);
382 m_impl->scribe(entry);
383}
std::string severity
Definition Config.cpp:16
std::unique_ptr< Impl > m_impl

References m_impl, and severity.

Referenced by MayaFlux::Journal::error(), MayaFlux::Journal::error(), MayaFlux::Journal::error_rethrow(), MayaFlux::Journal::fatal(), MayaFlux::Journal::fatal(), MayaFlux::Journal::scribe(), and MayaFlux::Journal::scribe().

+ Here is the caller graph for this function: