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