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

Function to_string

src/framework/debug/trace.cpp:82–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80} // namespace
81
82std::string_view to_string(LogLevel level) noexcept {
83 switch (level) {
84 case LogLevel::Debug:
85 return "debug";
86 case LogLevel::Info:
87 return "info";
88 case LogLevel::Warning:
89 return "warning";
90 case LogLevel::Error:
91 return "error";
92 }
93 return "unknown";
94}
95
96void configure_logging(const LoggingConfig & config) {
97 std::lock_guard<std::mutex> lock(logger_mutex());

Callers 15

log_messageFunction · 0.70
trace_log_scalarFunction · 0.70
timing_log_scalarFunction · 0.70
~ScopeTimerMethod · 0.70
load_resblockFunction · 0.50
amp_blockFunction · 0.50
build_bigvgan_graphFunction · 0.50
load_from_safetensorsMethod · 0.50
build_feed_forwardFunction · 0.50
build_wavlm_graph_layersFunction · 0.50
load_from_safetensorsMethod · 0.50

Calls

no outgoing calls

Tested by 15

run_caseFunction · 0.40
run_waveform_caseFunction · 0.40
run_caseFunction · 0.40
run_caseFunction · 0.40
require_closeFunction · 0.40
require_closeFunction · 0.40