You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not familiar with other parts of the SDK but this API should be consistent with existing patterns if possible:
Single key
newReplay({captureConsole: true,// Default, capture everythingcaptureConsole: false,// Do not capture any console logscaptureConsole: ['error'],// Capture only `console.error()`});
Multiple keys
newReplay({disableCaptureConsole: false,// Default, capture everythingdisableCaptureConsole: true,// Do not capture any console logscaptureConsole: ['error'],// Capture only `console.error()`});
The text was updated successfully, but these errors were encountered:
This can be closed by a low level API added in #8124
newSentry.Replay({beforeAddRecordingEvent: (event)=>{// Filter out specific eventsif(event.data.payload.category==='console'){returnnull;}// Remember to return an event if you want to keep it!returnevent;}});
Problem
Some users want to be able to control what gets captured in the Console and Network tabs (for example, privacy reasons).
We should add configuration options to replay to:
Proposal
I'm not familiar with other parts of the SDK but this API should be consistent with existing patterns if possible:
Single key
Multiple keys
The text was updated successfully, but these errors were encountered: