@codevco/pino-logtail

1.0.7 • Public • Published

pino-logtail

THIS IS WORK IN PROGRESS

Usage:

# install globally
npm install @codevco/pino-logtail --global

# pipe stdio to pino-logtail
node app.js | pino-logtail --token=xxxxxx

Options:

Options Description
--token the Logtail access token
--passThrough pipe to stdout
--debug dump raw logs messages

Environment variables

You can also set the token via the following env var.

# pipe stdio to pino-logtail
export LOGTAIL_TOKEN=xxxxxx
node app.js | pino-logtail --passThrough | pino-pretty

Readme

Keywords

Package Sidebar

Install

npm i @codevco/pino-logtail

Weekly Downloads

25

Version

1.0.7

License

MIT

Unpacked Size

4.75 kB

Total Files

5

Last publish

Collaborators

  • cosemansp