1.1.1 • Published 9 months ago

@beyonk/pino-logtail v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

@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

1.1.1

9 months ago

1.0.0

3 years ago

0.0.3

4 years ago

0.0.2

4 years ago