🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@axiomhq/pino

Package Overview
Dependencies
Maintainers
7
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axiomhq/pino

The official Axiom transport for Pino

latest
Source
npmnpm
Version
1.3.1
Version published
Weekly downloads
34K
3.24%
Maintainers
7
Weekly downloads
 
Created
Source

Axiom transport for Pino logger

The Axiom transport for Pino logger allows you to send data from a Node.js app to Axiom through Pino.

import pino from 'pino';

const logger = pino(
  { level: 'info' },
  pino.transport({
    target: '@axiomhq/pino',
    options: {
      dataset: process.env.AXIOM_DATASET,
      token: process.env.AXIOM_TOKEN,
    },
  }),
);

Install

npm install @axiomhq/pino

Documentation

For more information about how to set up and use the Axiom transport for Pino logger, see the axiom.co/docs/guides/pino.

License

MIT

Keywords

pino

FAQs

Package last updated on 16 Dec 2024

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