Description
We should explicitly state that the logger exported from @sentry/core is the SDK debug logger.
This gives us a couple of benefits:
- communicates intent of the export much better
- avoids collision with
logger exported from other sdks (which is used for sentry structured logging)
- we can move structured logging
logger code into @sentry/core, reducing duplication across our sdks
We'll first have to adjust the export in @sentry/core, and then change all the sdk code accordingly. After we change all the SDK code, we can deprecate the export.
Description
We should explicitly state that the
loggerexported from@sentry/coreis the SDK debug logger.This gives us a couple of benefits:
loggerexported from other sdks (which is used for sentry structured logging)loggercode into@sentry/core, reducing duplication across our sdksWe'll first have to adjust the export in
@sentry/core, and then change all the sdk code accordingly. After we change all the SDK code, we can deprecate the export.