(&mut self, field: &Field, value: &str)
| 79 | struct Fields(BTreeMap<String, String>); |
| 80 | impl Visit for Fields { |
| 81 | fn record_str(&mut self, field: &Field, value: &str) { |
| 82 | self.0.insert(field.name().into(), value.into()); |
| 83 | } |
| 84 | fn record_debug(&mut self, field: &Field, value: &dyn std::fmt::Debug) { |
| 85 | self.0.insert(field.name().into(), format!("{value:?}")); |
| 86 | } |