1 | # pino-colada 🍹
|
2 | [![npm version][1]][2] [![build status][3]][4]
|
3 | [![downloads][5]][6] [![js-standard-style][7]][8]
|
4 |
|
5 | A cute [ndjson](http://ndjson.org) formatter for [pino](https://github.com/pinojs/pino).
|
6 |
|
7 | ![pino-colada](./pino-colada.png)
|
8 |
|
9 | # Usage
|
10 | Pipe a server that uses pino into pino-colada for logging.
|
11 |
|
12 | ```bash
|
13 | node server.js | pino-colada
|
14 | ```
|
15 |
|
16 | ## pino-colada
|
17 | After parsing input from `server.js`, pino-colada returns a stream and pipes it
|
18 | over to `process.stdout`. It will output a timestamp, a log level in a form of
|
19 | an emoji, and a message.
|
20 |
|
21 | # Install
|
22 | ```bash
|
23 | npm install pino-colada
|
24 | ```
|
25 |
|
26 | # Related content
|
27 | - [pino](https://github.com/pinojs/pino)
|
28 | - [merry](https://github.com/shipharbor/merry)
|
29 | - [garnish](https://github.com/mattdesl/garnish)
|
30 | - [@studio/log](https://github.com/javascript-studio/studio-log)
|
31 | - [pino-http](https://github.com/pinojs/pino-http)
|
32 | - [hapi-pino](https://github.com/pinojs/hapi-pino)
|
33 |
|
34 | ## License
|
35 | [MIT](https://tldrlegal.com/license/mit-license)
|
36 |
|
37 | [1]: https://img.shields.io/npm/v/pino-colada.svg?style=flat-square
|
38 | [2]: https://npmjs.org/package/pino-colada
|
39 | [3]: https://img.shields.io/travis/lrlna/pino-colada/master.svg?style=flat-square
|
40 | [4]: https://travis-ci.org/lrlna/pino-colada
|
41 | [5]: http://img.shields.io/npm/dm/pino-colada.svg?style=flat-square
|
42 | [6]: https://npmjs.org/package/pino-colada
|
43 | [7]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square
|
44 | [8]: https://github.com/feross/standard
|