Documentation Index
Fetch the complete documentation index at: https://axiom-mano-support-improvements.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Create an Axiom account.
- Create a dataset in Axiom where you send your data.
- Create an API token in Axiom with permissions to ingest data to the dataset you have created.
Install SDK
To install the SDK, run the following:Import the Axiom transport for Winston
Create a Winston logger instance
Replace
API_TOKEN with the Axiom API token you have generated. For added security, store the API token in an environment variable.Replace DATASET_NAME with the name of the Axiom dataset where you send your data.Error, exception, and rejection handling
To log errors, use thewinston.format.errors formatter. For example:
exceptionHandlers and rejectionHandlers. For example: