|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
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 | |
| Archivist & | operator= (const Archivist &)=delete |
| Archivist (Archivist &&)=delete | |
| Archivist & | operator= (Archivist &&)=delete |
Static Public Member Functions | |
| static Archivist & | instance () |
| Get the singleton instance of the Archivist. | |
| static void | shutdown () |
| Shutdown the logging system. | |
Private Member Functions | |
| Archivist () | |
| ~Archivist () | |
Private Attributes | |
| std::unique_ptr< Impl > | m_impl |
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.