Skip to content

@flarelog/sdk


@flarelog/sdk / AutoCaptureConfig

Interface: AutoCaptureConfig

Defined in: types.ts:175

Automatic error capture configuration

Properties

console?

optional console?: boolean | ConsoleCaptureOptions

Defined in: types.ts:177

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


globalErrors?

optional globalErrors?: boolean

Defined in: types.ts:179

Capture global/runtime error events


rejections?

optional rejections?: boolean

Defined in: types.ts:181

Capture unhandled promise rejections


fetchHandler?

optional fetchHandler?: boolean

Defined in: types.ts:183

Enable worker fetch handler wrapper helpers. Not currently used.


worker?

optional worker?: boolean

Defined in: types.ts:185

Enable Web Worker wrapper helpers. Not currently used.


dedupWindowMs?

optional dedupWindowMs?: number

Defined in: types.ts:187

Deduplication window in milliseconds. Defaults to 5000


optional navigation?: boolean

Defined in: types.ts:189

Capture navigation breadcrumbs. Not yet implemented.


http?

optional http?: boolean

Defined in: types.ts:191

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


clicks?

optional clicks?: boolean

Defined in: types.ts:193

Capture DOM click breadcrumbs. Not yet implemented.

Released under the MIT License.