Files
klz-cables.com/.pnpm-store/v10/files/30/97e6b43ceafe6d38016a8e326b37342ceb8a99e5cceba389c350a42ddf023af2db74d9a3d34b2e791300270db1253ed111d15555e7e12f32f7d78b43ef8050
Marc Mintel 5397309103
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
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

24 lines
542 B
Plaintext

import { diag, DiagLogLevel } from '@opentelemetry/api';
import { debug } from '@sentry/core';
/**
* Setup the OTEL logger to use our own debug logger.
*/
function setupOpenTelemetryLogger() {
// Disable diag, to ensure this works even if called multiple times
diag.disable();
diag.setLogger(
{
error: debug.error,
warn: debug.warn,
info: debug.log,
debug: debug.log,
verbose: debug.log,
},
DiagLogLevel.DEBUG,
);
}
export { setupOpenTelemetryLogger };
//# sourceMappingURL=logger.js.map