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 out.precision(17);
81 out << value;
82 return out.str();
83}
84
85} // namespace
86
87std::string_view to_string(LogLevel level) noexcept {
88 switch (level) {
89 case LogLevel::Debug:
90 return "debug";
91 case LogLevel::Info:
92 return "info";
93 case LogLevel::Warning:
94 return "warning";
95 case LogLevel::Error:
96 return "error";
97 }

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