MCPcopy Create free account
hub / github.com/getsentry/sentry-javascript / debug

Function debug

packages/core/src/logs/public-api.ts:93–99  ·  view source on GitHub ↗
(
  message: ParameterizedString,
  attributes?: Log['attributes'],
  { scope }: CaptureLogMetadata = {},
)

Source from the content-addressed store, hash-verified

91 * ```
92 */
93export function debug(
94 message: ParameterizedString,
95 attributes?: Log['attributes'],
96 { scope }: CaptureLogMetadata = {},
97): void {
98 captureLog('debug', message, attributes, scope);
99}
100
101/**
102 * @summary Capture a log with the `info` level. Requires the `enableLogs` option to be enabled.

Callers

nothing calls this directly

Calls 1

captureLogFunction · 0.70

Tested by

no test coverage detected