Skip to main content

Built and signed on GitHub Actions

LogTape Sentry Sink

This package works with Node.js, Deno, BunIt is unknown whether this package works with Cloudflare Workers, Browsers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
It is unknown whether this package works with Browsers
JSR Score
100%
Published
2 months ago (0.1.0)
function getSentrySink
getSentrySink(client?: BaseClient<ClientOptions>): Sink

Gets a LogTape sink that sends logs to Sentry.

Parameters

optional
client: BaseClient<ClientOptions>

The Sentry client. If omitted, the global default client is used.

Return Type

A LogTape sink that sends logs to Sentry.

Add Package

deno add jsr:@logtape/sentry

Import symbol

import { getSentrySink } from "@logtape/sentry";

---- OR ----

Import directly with a jsr specifier

import { getSentrySink } from "jsr:@logtape/sentry";

Add Package

npx jsr add @logtape/sentry

Import symbol

import { getSentrySink } from "@logtape/sentry";

Add Package

yarn dlx jsr add @logtape/sentry

Import symbol

import { getSentrySink } from "@logtape/sentry";

Add Package

pnpm dlx jsr add @logtape/sentry

Import symbol

import { getSentrySink } from "@logtape/sentry";

Add Package

bunx jsr add @logtape/sentry

Import symbol

import { getSentrySink } from "@logtape/sentry";