Skip to content

LogHookOptions

type LogHookOptions = kit.LogHookOptions<BeforeEvent, AfterEvent>;

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

Options for createLogHook: log (default console.log), includeBefore (default false — after only), json (one JSON object per line), describe (an extra text-format field) and format (replaces the whole line; default [@xtandard/audit] <phase> <type> <json>).