MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Journal::Archivist Class Reference

Singleton class responsible for managing log entries. More...

#include <Archivist.hpp>

+ Collaboration diagram for MayaFlux::Journal::Archivist:

Classes

class  Impl
 

Public Member Functions

void 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.
 
void scribe_rt (Severity severity, Component component, Context context, std::string_view message, std::source_location location=std::source_location::current())
 Log a message from a real-time context with the specified severity, component, and context.
 
void scribe_simple (Component component, Context context, std::string_view message)
 Log a simple message without source location information.
 
void add_sink (std::unique_ptr< Sink > sink)
 Add a log sink for output.
 
void clear_sinks ()
 Remove all sinks.
 
void set_min_severity (Severity min_sev)
 Set the minimum severity level for logging.
 
void set_component_filter (Component comp, bool enabled)
 Enable or disable logging for a specific component.
 
 Archivist (const Archivist &)=delete
 
Archivistoperator= (const Archivist &)=delete
 
 Archivist (Archivist &&)=delete
 
Archivistoperator= (Archivist &&)=delete
 

Static Public Member Functions

static Archivistinstance ()
 Get the singleton instance of the Archivist.
 
static void shutdown ()
 Shutdown the logging system.
 

Private Member Functions

 Archivist ()
 
 ~Archivist ()
 

Private Attributes

std::unique_ptr< Implm_impl
 

Detailed Description

Singleton class responsible for managing log entries.

The Archivist class provides methods to log messages with various severity levels, components, and contexts. It supports both standard and real-time logging.

Definition at line 17 of file Archivist.hpp.


The documentation for this class was generated from the following files: