Skip to content

Options

Options<A> = object

Defined in: Composition/tap.ts:214

Configuration options for tapLog.

A

readonly optional formatter?: (value) => string

Defined in: Composition/tap.ts:227

A custom formatter function to convert the piped value to a string. Defaults to JSON.stringify for objects and String(value) for primitives.

A

string


readonly optional label?: string

Defined in: Composition/tap.ts:218

An optional label prefix for the log output (e.g., [label]: value).


readonly optional logger?: (message) => void

Defined in: Composition/tap.ts:222

The logging destination function. Defaults to console.log.

string

void