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

Function log

packages/node-native/src/event-loop-block-watchdog.ts:45–50  ·  view source on GitHub ↗
(...msg: unknown[])

Source from the content-addressed store, hash-verified

43const triggeredThreads = new Set<string>();
44
45function log(...msg: unknown[]): void {
46 if (debug) {
47 // eslint-disable-next-line no-console
48 console.log('[Sentry Event Loop Blocked Watchdog]', ...msg);
49 }
50}
51
52function createRateLimiter(maxEventsPerHour: number): () => boolean {
53 let currentHour = 0;

Callers 4

createRateLimiterFunction · 0.70
sendAbnormalSessionFunction · 0.70
sendBlockEventFunction · 0.70

Calls 1

logMethod · 0.65

Tested by

no test coverage detected