Skip to content

@flarelog/sdk


@flarelog/sdk / AutoCaptureConfig

Interface: AutoCaptureConfig

Defined in: types.ts:260

Automatic error capture configuration

Properties

console?

optional console?: boolean | ConsoleCaptureOptions

Defined in: types.ts:262

Capture console.error / console.warn (and optionally more)


globalErrors?

optional globalErrors?: boolean

Defined in: types.ts:264

Capture global/runtime error events


rejections?

optional rejections?: boolean

Defined in: types.ts:266

Capture unhandled promise rejections


fetchHandler?

optional fetchHandler?: boolean

Defined in: types.ts:268

Enable worker fetch handler wrapper helpers. Not currently used.


worker?

optional worker?: boolean

Defined in: types.ts:270

Enable Web Worker wrapper helpers. Not currently used.


dedupWindowMs?

optional dedupWindowMs?: number

Defined in: types.ts:272

Deduplication window in milliseconds. Defaults to 5000


optional navigation?: boolean

Defined in: types.ts:274

Capture navigation breadcrumbs. Not yet implemented.


http?

optional http?: boolean

Defined in: types.ts:276

Capture fetch/XHR breadcrumbs and performance data. Not yet implemented.


clicks?

optional clicks?: boolean

Defined in: types.ts:278

Capture DOM click breadcrumbs. Not yet implemented.

Released under the MIT License.