2.0.0-beta.3
Pre-release
Pre-release
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