Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hilli/go-axiom-logger
logrus sprinkled with Axiom
https://github.com/hilli/go-axiom-logger
Last synced: about 13 hours ago
JSON representation
logrus sprinkled with Axiom
- Host: GitHub
- URL: https://github.com/hilli/go-axiom-logger
- Owner: hilli
- Created: 2022-08-18T14:55:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-19T11:42:03.000Z (about 2 years ago)
- Last Synced: 2024-06-20T08:19:32.303Z (5 months ago)
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-axiom-logger
Sets up a `Sirupsen/logrus` logger for the Axiom API.
As always when using the Axiom API, you should make sure to set up Axiom params in the env:
```shell
// Export `AXIOM_TOKEN`, `AXIOM_ORG_ID` (when using a personal token) and
// `AXIOM_DATASET` for Axiom Cloud.
// Export `AXIOM_URL`, `AXIOM_TOKEN` and `AXIOM_DATASET` for Axiom Selfhost.
```