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
4 days ago (1.0.4)
interface SyslogSinkOptions

Options for the syslog sink.

Properties

readonly
optional
hostname: string

The hostname or IP address of the syslog server.

readonly
optional
port: number

The port number of the syslog server.

readonly
optional
protocol: SyslogProtocol

The protocol to use for sending syslog messages.

readonly
optional
facility: SyslogFacility

The syslog facility to use for all messages.

readonly
optional
appName: string

The application name to include in syslog messages.

readonly
optional
syslogHostname: string

The hostname to include in syslog messages. If not provided, the system hostname will be used.

readonly
optional
processId: string

The process ID to include in syslog messages. If not provided, the current process ID will be used.

readonly
optional
timeout: number

Connection timeout in milliseconds.

readonly
optional
includeStructuredData: boolean

Whether to include structured data in syslog messages.

readonly
optional
structuredDataId: string

The structured data ID to use for log properties. Should follow the format "name@private-enterprise-number".

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 { type SyslogSinkOptions } from "@logtape/syslog";
or

Import directly with a jsr specifier

import { type SyslogSinkOptions } 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 { type SyslogSinkOptions } 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 { type SyslogSinkOptions } from "@logtape/syslog";

Add Package

vlt install jsr:@logtape/syslog

Import symbol

import { type SyslogSinkOptions } from "@logtape/syslog";

Add Package

npx jsr add @logtape/syslog

Import symbol

import { type SyslogSinkOptions } from "@logtape/syslog";

Add Package

bunx jsr add @logtape/syslog

Import symbol

import { type SyslogSinkOptions } from "@logtape/syslog";