Socket
Book a DemoInstallSign in
Socket

@beyonk/pino-logtail

Package Overview
Dependencies
Maintainers
6
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beyonk/pino-logtail

Logtail integration for Pino Logger

latest
npmnpm
Version
1.1.1
Version published
Maintainers
6
Created
Source

@beyonk/pino-logtail

Corepack

@beyonk/pino-logtail is a so called "transport" for the pino logger. pino-logtail receives pino logs from stdin and sends them to a logsene compatible logger such as logtail via @logtail/node.

For example:

$ node your-app.js | pino-logtail --token my-api-token

Demo

You can test the integration by running the demo:

$ pnpm demo -- --token <my-api-token>

Install

You should install pino-logtail globally so that it can be used as a utility:

$ pnpm install --production -g @beyonk/pino-logtail

Configuration

@beyonk/pino-logtail only supports a single config option, token which is your logtail (or compatible) api token.

License

MIT License

FAQs

Package last updated on 30 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts