Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
1 line
970 B
Plaintext
1 line
970 B
Plaintext
{"version":3,"file":"logger.js","sources":["../../../src/otel/logger.ts"],"sourcesContent":["import { diag, DiagLogLevel } from '@opentelemetry/api';\nimport { debug } from '@sentry/core';\n\n/**\n * Setup the OTEL logger to use our own debug logger.\n */\nexport function setupOpenTelemetryLogger(): void {\n // Disable diag, to ensure this works even if called multiple times\n diag.disable();\n diag.setLogger(\n {\n error: debug.error,\n warn: debug.warn,\n info: debug.log,\n debug: debug.log,\n verbose: debug.log,\n },\n DiagLogLevel.DEBUG,\n );\n}\n"],"names":[],"mappings":";;;AAGA;AACA;AACA;AACO,SAAS,wBAAwB,GAAS;AACjD;AACA,EAAE,IAAI,CAAC,OAAO,EAAE;AAChB,EAAE,IAAI,CAAC,SAAS;AAChB,IAAI;AACJ,MAAM,KAAK,EAAE,KAAK,CAAC,KAAK;AACxB,MAAM,IAAI,EAAE,KAAK,CAAC,IAAI;AACtB,MAAM,IAAI,EAAE,KAAK,CAAC,GAAG;AACrB,MAAM,KAAK,EAAE,KAAK,CAAC,GAAG;AACtB,MAAM,OAAO,EAAE,KAAK,CAAC,GAAG;AACxB,KAAK;AACL,IAAI,YAAY,CAAC,KAAK;AACtB,GAAG;AACH;;;;"} |