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

Method record_str

crates/openshell-server/src/tracing_bus.rs:178–184  ·  view source on GitHub ↗
(&mut self, field: &tracing::field::Field, value: &str)

Source from the content-addressed store, hash-verified

176
177impl tracing::field::Visit for LogVisitor {
178 fn record_str(&mut self, field: &tracing::field::Field, value: &str) {
179 match field.name() {
180 "sandbox_id" => self.sandbox_id = Some(value.to_string()),
181 "message" => self.message = Some(value.to_string()),
182 _ => {}
183 }
184 }
185
186 fn record_debug(&mut self, field: &tracing::field::Field, value: &dyn std::fmt::Debug) {
187 match field.name() {

Callers

nothing calls this directly

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected