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