Optional
expCallback function for collecting logs to be included in telemetry data.
The length of logs to generate is controlled by the maxLogs
parameter.
This callback is called before telemetry data is sent, allowing for dynamic customization of the logs.
An object with the following property:
Optional
inclIf set to true, when exception is sent out, the SDK will also send out all scripts basic info that are loaded on the page. Notice: This would increase the size of the exception telemetry.
Optional
maxThe maximum number of logs to include in the telemetry data.
If not explicitly set, it defaults to 50.
This is used in conjunction with the expLog
callback.
Configuration for extra exceptions information sent with the exception telemetry.
Example
Interface
IExceptionConfig