Skip to content

createLogHook

function createLogHook(options?): LinksHooks;

Defined in: src/hooks/log.ts:34

Build a hook that logs each mutation event as [@xtandard/links] <phase> <type> <json>. Never throws from before, so it never denies a mutation — it is a pure observer.

Parameter Type
options? LogHookOptions

LinksHooks