MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / record_debug

Method record_debug

crates/openshell-supervisor-process/src/log_push.rs:303–310  ·  view source on GitHub ↗
(&mut self, field: &tracing::field::Field, value: &dyn std::fmt::Debug)

Source from the content-addressed store, hash-verified

301 }
302
303 fn record_debug(&mut self, field: &tracing::field::Field, value: &dyn std::fmt::Debug) {
304 if field.name() == "message" {
305 self.message = Some(format!("{value:?}"));
306 } else {
307 self.fields
308 .push((field.name().to_string(), format!("{value:?}")));
309 }
310 }
311}

Callers

nothing calls this directly

Calls 2

pushMethod · 0.80
nameMethod · 0.45

Tested by

no test coverage detected