Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pastjean/pino-text-level-transport


https://github.com/pastjean/pino-text-level-transport

Last synced: 21 days ago
JSON representation

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
```