@axiomhq/pino
v1.3.0
Published
The official Axiom transport for Pino
Downloads
52,373
Readme
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.