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

◆ set_journal_component_filter()

MAYAFLUX_API void MayaFlux::Config::set_journal_component_filter ( const std::vector< Journal::Component > &  component,
bool  enabled 
)

Enables or disables logging for specific journal components.

Parameters
componentVector of Journal::Component values to enable/disable
enabledTrue to enable logging for the specified components, false to disable

Definition at line 139 of file Config.cpp.

140{
141 for (const auto& comp : component) {
142 Journal::Archivist::instance().set_component_filter(comp, enabled);
143 }
144}

References MayaFlux::Journal::Archivist::instance(), and MayaFlux::Journal::Archivist::set_component_filter().

Referenced by load_config_from_file().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: