1.2.0 • Published 6 years ago

pino-logdna-formatter v1.2.0

Weekly downloads
2,896
License
MIT
Repository
github
Last release
6 years ago

pino-logdna-formatter

This is a tranport for pino that transforms the level field into a string and renames the msg field into message. It also creates a timestamp field from time field.

This format is required in logdna.

Usage

npm install pino-logdna-formatter

And in your package.json

{
    ...
    "scripts":{
        ...
        "start": "node yourprocess.js | pino-logdna-formatter"
    },
    ...
}

Then:

npm run start
1.2.0

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago