Skip to content

2.0.0-beta.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@sentry-release-bot sentry-release-bot released this 23 Jun 18:01

Features

  • Add experimental support for Log tracing (#920)

To enable it add the following code to your Sentry Options:

Sentry.init({
  // other options...
  _experiments: {
    enableLogs: true,
  },
});

You can also filter the logs being collected by adding beforeSendLogs into _experiments

Sentry.init({
  // other options...
  _experiments: {
    enableLogs: true,
    beforeSendLog: log => {
      return log;
    },
  },
});

Dependencies

Self Hosted

  • It is recommended to use Sentry Self Hosted version 25.2.0 or new for Sentry Capacitor V2 or newer