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

x/sentry/index.d.ts>captureMessage

The Official Sentry Deno SDK
Latest
function captureMessage
import { captureMessage } from "https://deno.land/x/sentry@8.37.1/index.d.ts";

Captures a message event and sends it to Sentry.

Parameters

message: string

The message to send to Sentry.

optional
captureContext: CaptureContext | SeverityLevel

Define the level of the message or pass in additional data to attach to the message.

Returns

string

the id of the captured message.