beforeSend

A callback that is invoked before a log is sent to Sentry.

Return the (potentially modified) log to send it, or null to drop it.