MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / log

Function log

packages/node-core/src/integrations/anr/worker.ts:29–34  ·  view source on GitHub ↗
(msg: string)

Source from the content-addressed store, hash-verified

27let mainDebugImages: Record<string, string> = {};
28
29function log(msg: string): void {
30 if (options.debug) {
31 // eslint-disable-next-line no-console
32 console.log(`[ANR Worker] ${msg}`);
33 }
34}
35
36const url = getEnvelopeEndpointWithUrlEncodedAuth(options.dsn, options.tunnel, options.sdkMetadata.sdk);
37const transport = makeNodeTransport({

Callers 4

sendAbnormalSessionFunction · 0.70
worker.tsFile · 0.70
sendAnrEventFunction · 0.70
watchdogTimeoutFunction · 0.70

Calls 1

logMethod · 0.65

Tested by

no test coverage detected