Replaces the built-in JSON difference computation for confirmed-mismatch
warnings, which runs only when shadow.mismatchLogging.diff is above
"off". Inputs are borrowed snapshots. Like comparators, hooks must be
synchronous, deterministic, side-effect-free, non-mutating, and bounded.
A throw, a promise-like or a non-array logs null for the paths and the
diff; DialCache never falls back to the built-in computation. Entries are
logged as the hook returns them.
Replaces the built-in JSON difference computation for confirmed-mismatch warnings, which runs only when
shadow.mismatchLogging.diffis above"off". Inputs are borrowed snapshots. Like comparators, hooks must be synchronous, deterministic, side-effect-free, non-mutating, and bounded. A throw, a promise-like or a non-array logsnullfor the paths and the diff; DialCache never falls back to the built-in computation. Entries are logged as the hook returns them.