Skip to main content
Module

x/sentry/index.d.ts>captureMessage

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

Captures a message event and sends it to Sentry.

Parameters

message: string

The message to send to Sentry.

optional
captureContext: CaptureContext | Severity | SeverityLevel

Define the level of the message.

Returns

ReturnType<Hub["captureMessage"]>

The generated eventId.