Skip to content

LogHookOptions

type LogHookOptions = Omit<kit.LogHookOptions<BeforeEvent, AfterEvent>, "source" | "describe">;

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

Options for createLogHook: log (default console.log), includeBefore (default false), json (one { source, phase, ...event } object per line) and format. The default text line is [@xtandard/entitlements] <phase> <type> <customer> + the JSON payload.