Languages
Axiom transport for Pino logger
This page explains how to send data from a Node.js app to Axiom through Pino.
Prerequisites
- Create an Axiom account.
- Create a dataset in Axiom where you send your data.
- Create an API token in Axiom with permissions to update the dataset you have created.
Install SDK
To install the SDK, run the following:
Create Pino logger
The example below creates a Pino logger with Axiom configured:
After setting up the Axiom transport for Pino, use the logger as usual:
Examples
For more examples, see the examples in GitHub.
Was this page helpful?