• Captures a message event and sends it to Sentry.

    Parameters

    • message: string
    • OptionalcaptureContext: Severity | SeverityLevel | CaptureContext

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

    Returns string

    the id of the captured message.