New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@axiomhq/pino

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axiomhq/pino

The official Axiom transport for Pino

1.3.1
latest
Version published
Weekly downloads
12K
9.81%
Maintainers
7
Weekly downloads
 
Created

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

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