Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sentry/index.d.ts>Scope#captureMessage

The Official Sentry Deno SDK
Go to Latest
method Scope.prototype.captureMessage
import { Scope } from "https://deno.land/x/sentry@7.117.0/index.d.ts";

Capture a message for this scope.

Parameters

message: string

The message to capture.

optional
level: SeverityLevel

An optional severity level to report the message with.

optional
hint: EventHint

Optional additional data to attach to the Sentry event.

Returns

string

the id of the captured message.