Socket
Socket
Sign inDemoInstall

pino

Package Overview
Dependencies
Maintainers
2
Versions
310
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pino - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

2

package.json
{
"name": "pino",
"version": "2.4.0",
"version": "2.4.1",
"description": "fast and simple logger",

@@ -5,0 +5,0 @@ "main": "pino.js",

@@ -387,3 +387,3 @@ # pino  [![Build Status](https://travis-ci.org/mcollina/pino.svg)](https://travis-ci.org/mcollina/pino)

Read only. Holds the current log format version (as output in the `v` property of each log record).
Read only. Holds the current log format version (as output in the `v` property of each log record).

@@ -680,3 +680,3 @@

cb()
}
})

@@ -694,2 +694,22 @@ pump(process.stdin, split2(JSON.parse), myTransport)

<a name="pino-socket"></a>
### pino-socket
[pino-socket][pino-socket] is a transport that will forward logs to a IPv4
UDP or TCP socket. As an example, use `socat` to fake a listener:
```sh
$ socat -v udp4-recvfrom:6000,fork exec:'/bin/cat'
```
And then run an application that uses `pino` for logging:
```sh
$ node yourapp.js | pino-socket -p 6000
```
You should see the logs from your application on both consoles.
[pino-socket]: https://www.npmjs.com/package/pino-socket
<a name="caveats"></a>

@@ -696,0 +716,0 @@ ## Caveats

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc