Skip to main content
Home

Built and signed on GitHub Actions

LogTape syslog 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
a week ago (1.0.4)

LogTape syslog sink

JSR npm

Syslog sink for LogTape. This package provides a syslog sink that sends log messages to a syslog server following the RFC 5424 specification.

Features

  • RFC 5424 compliant: Follows the official syslog protocol specification
  • Multiple transports: Supports both UDP and TCP protocols
  • Cross-runtime: Works on Deno, Node.js, and Bun
  • Non-blocking: Asynchronous message sending with proper cleanup
  • Configurable: Extensive configuration options for facility, hostname, etc.
  • Structured logging: Optional structured data support
  • Zero dependencies: No external dependencies

Installation

This package is available on JSR and npm. You can install it for various JavaScript runtimes and package managers:

deno add jsr:@logtape/syslog  # for Deno
npm  add     @logtape/syslog  # for npm
pnpm add     @logtape/syslog  # for pnpm
yarn add     @logtape/syslog  # for Yarn
bun  add     @logtape/syslog  # for Bun

Docs

The docs of this package is available at https://logtape.org/manual/sinks#syslog-sink. For the API references, see https://jsr.io/@logtape/syslog.

Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@logtape/syslog

Import symbol

import * as syslog from "@logtape/syslog";
or

Import directly with a jsr specifier

import * as syslog from "jsr:@logtape/syslog";

Add Package

pnpm i jsr:@logtape/syslog
or (using pnpm 10.8 or older)
pnpm dlx jsr add @logtape/syslog

Import symbol

import * as syslog from "@logtape/syslog";

Add Package

yarn add jsr:@logtape/syslog
or (using Yarn 4.8 or older)
yarn dlx jsr add @logtape/syslog

Import symbol

import * as syslog from "@logtape/syslog";

Add Package

vlt install jsr:@logtape/syslog

Import symbol

import * as syslog from "@logtape/syslog";

Add Package

npx jsr add @logtape/syslog

Import symbol

import * as syslog from "@logtape/syslog";

Add Package

bunx jsr add @logtape/syslog

Import symbol

import * as syslog from "@logtape/syslog";