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

◆ set_journal_context_filter()

MAYAFLUX_API void MayaFlux::Config::set_journal_context_filter ( const std::vector< Journal::Context > &  context,
bool  enabled 
)

Enables or disables logging for specific journal contexts.

Parameters
contextVector of Journal::Context values to enable/disable
enabledTrue to enable logging for the specified contexts, false to disable

Definition at line 144 of file Config.cpp.

145{
146 for (const auto& ctx : context) {
147 Journal::Archivist::instance().set_context_filter(ctx, enabled);
148 }
149}

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

Referenced by load_config_from_file().

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