Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pastjean/pino-text-level-transport
https://github.com/pastjean/pino-text-level-transport
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pastjean/pino-text-level-transport
- Owner: pastjean
- License: mit
- Created: 2018-04-24T16:47:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-04-24T17:40:30.000Z (over 6 years ago)
- Last Synced: 2024-12-06T13:09:10.041Z (about 1 month ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pino-text-level-transport
This is a tranport for pino that transforms the "level" field into a string.
It is useful for logging platforms such as [logdna](logdna.com) that only
supports having the level field as string.## Usage
```sh
npm install pino-text-level-transport
```And in your package.json
```json
{
...
"scripts":{
...
"start": "node yourprocess.js |pino-text-level-transport"
},
...
}
```Then:
```sh
npm run start
```