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

Function trace

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

Source from the content-addressed store, hash-verified

56 * ```
57 */
58export function trace(
59 message: ParameterizedString,
60 attributes?: Log['attributes'],
61 { scope }: CaptureLogMetadata = {},
62): void {
63 captureLog('trace', message, attributes, scope);
64}
65
66/**
67 * @summary Capture a log with the `debug` level. Requires the `enableLogs` option to be enabled.

Callers

nothing calls this directly

Calls 1

captureLogFunction · 0.70

Tested by

no test coverage detected