MCPcopy Create free account
hub / github.com/elastic/devfiler / record_debug

Method record_debug

src/log.rs:72–76  ·  view source on GitHub ↗
(&mut self, field: &Field, value: &dyn Debug)

Source from the content-addressed store, hash-verified

70
71 impl<'a> Visit for FieldVisitor {
72 fn record_debug(&mut self, field: &Field, value: &dyn Debug) {
73 if field.name() == "message" {
74 self.0 = Some(format!("{:?}", value))
75 }
76 }
77 }
78
79 let mut visitor = FieldVisitor(None);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected