Closed
Description
The console instrumentation in the SDK seem to duplicate code. Maybe we can find a way to unify them? We can also improve testing this way, and it may help save bundle size.
the instrumentConsole
utility:
the node Console
integration: https://github.com/getsentry/sentry-javascript/blob/master/packages/node/src/integrations/console.ts
the CaptureConsole
integration: https://github.com/getsentry/sentry-javascript/blob/master/packages/integrations/src/captureconsole.ts