MayaFlux 0.4.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 137 of file Config.cpp.

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

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: