Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/logflare/pino-logflare
🌲 send pino logs to Logflare
https://github.com/logflare/pino-logflare
Last synced: 7 days ago
JSON representation
🌲 send pino logs to Logflare
- Host: GitHub
- URL: https://github.com/logflare/pino-logflare
- Owner: Logflare
- License: mit
- Created: 2020-03-24T18:39:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-26T06:23:59.000Z (about 1 year ago)
- Last Synced: 2024-10-30T04:52:14.425Z (16 days ago)
- Language: JavaScript
- Homepage:
- Size: 1.63 MB
- Stars: 123
- Watchers: 4
- Forks: 20
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: docs/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# pino-logflare
This module provides transport for [pino][pino] that forwards messages to your [Logflare][logflare] account.
You can use `pino-logflare` both for node and browser apps. We also support isomorphic Vercel apps.
## Installation
To use globally from command line:
```bash
$ npm install -g pino-logflare
```To include as a library in your project:
```bash
$ npm install pino-logflare
```## CLI
Want to use `pino-logflare` from the CLI?
See the [CLI](./docs/CLI.md) documentation for details.## API
Want to use `pino-logflare` as a library in your project?
See the [API](./docs/API.md) documentation for details.## Vercel
Set up `pino-logflare` to use in your Vercel project.
See the [VERCEL](./docs/VERCEL.md) documentation for details.## Known Issues
* Not compatible with `pino-pretty`.
## Credits
Thanks to [@zackkrida](https://github.com/zackkrida) for creating the initial version of pino-logflare.
Thanks to [@ovhemert](https://github.com/ovhemert) for creating the [pino-datadog](https://github.com/ovhemert/pino-datadog) project this transport is based on.
## Contributing
If you would like to help out with some code, check the [details](./docs/CONTRIBUTING.md).
## License
Licensed under [MIT](./LICENSE).
[pino]: https://www.npmjs.com/package/pino
[logflare]: https://logflare.app/