Learn how to set up capture for console/application logs.
captureConsoleIntegration
to your initializationTo automatically begin capturing console API calls, simply add Sentry.captureConsoleIntegration
to your
existing Sentry.init
call.
You may pass a levels
arg to captureConsoleIntegration
in order to customize log levels that are captured.
That’s it! Decipher will automatically capture the configured logs and include them in session replays.