MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / reset_logging

Function reset_logging

src/framework/debug/trace.cpp:110–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108 }
109 state.file_path = config.file_path;
110 if (config.enabled && state.file_path.has_value() && !state.file_path->empty()) {
111 (void)logger_output_locked(state);
112 }
113 const bool active = state.config_enabled || (state.callback != nullptr);
114 logger_enabled_flag().store(active, std::memory_order_release);
115}

Callers 2

mainFunction · 0.85
mainFunction · 0.85

Calls 1

configure_loggingFunction · 0.85

Tested by

no test coverage detected