@flarelog/sdk / CaptureOptions
Interface: CaptureOptions
Defined in: types.ts:319
Options for error capture methods
Properties
source?
optionalsource?:string
Defined in: types.ts:321
Override the source tag for this capture
metadata?
optionalmetadata?:Record<string,unknown>
Defined in: types.ts:323
Additional metadata to attach to error logs
level?
optionallevel?:"WARN"|"ERROR"|"FATAL"
Defined in: types.ts:325
Custom log level for captured errors. Defaults to "ERROR"
rethrow?
optionalrethrow?:boolean
Defined in: types.ts:327
Whether to re-throw the error after logging. Defaults to true
label?
optionallabel?:string
Defined in: types.ts:329
A descriptive label for what operation was being attempted