@xtandard/kit/hooks/log
@xtandard/kit/hooks/log — a reference hook that logs mutation events, as
text or one JSON object per line.
import { … } from "@xtandard/kit/hooks/log";Functions
Section titled “Functions”| Name | Summary |
|---|---|
createLogHook |
Build a hook that logs each mutation event. Never throws from before, so it never denies a mutation — it is a pure observer. |
Interfaces
Section titled “Interfaces”| Name | Summary |
|---|---|
LogHookOptions |
Options for createLogHook. |