Learn how to set up capture for console/application logs.
captureConsoleIntegration
to your initializationSentry.captureConsoleIntegration
to your
existing Sentry.init
call.
levels
arg to captureConsoleIntegration
in order to customize log levels that are captured.