diff --git a/src/customizations/before-send.ts b/src/customizations/before-send.ts index 0f28c4d4a..dc72de278 100644 --- a/src/customizations/before-send.ts +++ b/src/customizations/before-send.ts @@ -117,3 +117,9 @@ export function sampleByEvent(eventNames: KnownEventName[], percent: number): Be : null } } + +export const printAndDropEverything: BeforeSendFn = (result) => { + // eslint-disable-next-line no-console + console.log('Would have sent event:', result) + return null +}