🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@codevco/pino-logtail

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codevco/pino-logtail

A pino 'transport' for writing to LogTail

1.0.7
latest
Source
npm
Version published
Weekly downloads
60
233.33%
Maintainers
1
Weekly downloads
 
Created
Source

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:

OptionsDescription
--tokenthe Logtail access token
--passThroughpipe to stdout
--debugdump 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

Keywords

pino

FAQs

Package last updated on 09 Nov 2021

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