Skip to content

@flarelog/sdk


@flarelog/sdk / AutoCaptureConfig

Interface: AutoCaptureConfig ​

Defined in: types.ts:274

Automatic error capture configuration

Properties ​

console? ​

optional console?: boolean | ConsoleCaptureOptions

Defined in: types.ts:276

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


globalErrors? ​

optional globalErrors?: boolean

Defined in: types.ts:278

Capture global/runtime error events


rejections? ​

optional rejections?: boolean

Defined in: types.ts:280

Capture unhandled promise rejections


fetchHandler? ​

optional fetchHandler?: boolean

Defined in: types.ts:282

Enable worker fetch handler wrapper helpers. Not currently used.


worker? ​

optional worker?: boolean

Defined in: types.ts:284

Enable Web Worker wrapper helpers. Not currently used.


dedupWindowMs? ​

optional dedupWindowMs?: number

Defined in: types.ts:286

Deduplication window in milliseconds. Defaults to 5000


optional navigation?: boolean

Defined in: types.ts:288

Capture navigation breadcrumbs. Not yet implemented.


http? ​

optional http?: boolean

Defined in: types.ts:290

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


clicks? ​

optional clicks?: boolean

Defined in: types.ts:292

Capture DOM click breadcrumbs. Not yet implemented.

Released under the MIT License.