(&mut self, field: &tracing::field::Field, value: &dyn std::fmt::Debug)
| 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 | } |