macro_rules! register_patch { ($patchfn:ident) => { ... }; }
Register a patch function which can be used when emitting flows.
The function must conform to the signature of PatchFn
PatchFn