wrapper around feed_inner that emits reproducibility
(&mut self, routable_event: RoutableEvent)
| 131 | |
| 132 | // wrapper around feed_inner that emits reproducibility |
| 133 | fn feed_repro(&mut self, routable_event: RoutableEvent) -> Option<&ClockParameters> { |
| 134 | let serialized = serde_json::to_string(&routable_event).unwrap(); |
| 135 | let output = self.feed_inner(routable_event); |
| 136 | tracing::info!( |
| 137 | target: PRIMER_TARGET, |
| 138 | event = serialized, |
| 139 | output = serde_json::to_string(&output).unwrap(), |
| 140 | "feed" |
| 141 | ); |
| 142 | |
| 143 | output |
| 144 | } |
| 145 | |
| 146 | /// Feed event into the link local |
| 147 | fn feed_link_local( |