Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

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/sinks/syslog. For the API references, see https://jsr.io/@logtape/syslog.