pino-papertrail
Version:
A transport for pino that sends messages to Papertrail
52 lines (32 loc) • 2.08 kB
Markdown
# pino-papertrail
[](https://github.com/ovhemert/pino-papertrail/actions)
[](https://www.codacy.com/app/ovhemert/pino-papertrail?utm_source=github.com&utm_medium=referral&utm_content=ovhemert/pino-papertrail&utm_campaign=Badge_Grade)
[](https://snyk.io/test/npm/pino-papertrail)
[](https://coveralls.io/github/ovhemert/pino-papertrail?branch=master)
[](http://standardjs.com/)
This module provides a "transport" for [pino][pino] that forwards
messages to the [papertrail][papertrail] log service through udp/tcp/tls. The module can echo the received logs or work silently.
## Installation
To use globally from command line:
```bash
npm install -g pino-papertrail
```
To include as a library in your project:
```bash
npm install pino-papertrail --save
```
## CLI
Want to use `pino-papertrail` from the CLI? See the [CLI](./docs/CLI.md) documentation for details.
## API
Want to use `pino-papertrail` as a library in your project? See the [API](./docs/API.md) documentation for details.
## Maintainers
Osmond van Hemert
[](https://github.com/ovhemert)
[](https://ovhemert.dev)
## Contributing
If you would like to help out with some code, check the [details](./docs/CONTRIBUTING.md).
Not a coder, but still want to support? Have a look at the options available to [donate](https://ovhemert.dev/donate).
## License
Licensed under [MIT](./LICENSE).
[pino]: https://www.npmjs.com/package/pino
[papertrail]: https://papertrailapp.com