Socket
Socket
Sign inDemoInstall

pino-socket

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pino-socket - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

5

package.json
{
"name": "pino-socket",
"version": "0.1.0",
"version": "0.1.1",
"description": "A pino 'transport' for writing to a tcp or udp socket",

@@ -11,2 +11,5 @@ "homepage": "https://github.com/jsumners/pino-socket",

},
"bin": {
"pino-socket": "./psock.js"
},
"keywords": [

@@ -13,0 +16,0 @@ "pino",

@@ -7,4 +7,20 @@ # pino-socket

You should install install `pino-socket` globally for ease of use:
```bash
$ npm install --production -g pino-socket
```
[pino]: https://www.npmjs.com/package/pino
## Usage
Given an application `foo` that logs via [pino][pino], and a system that
collects logs on port UDP `5000` on IP `10.10.10.5`, you would use `pino-socket`
like so:
```bash
$ node foo | pino-socket -a 10.10.10.5 -p 5000
```
## Options

@@ -11,0 +27,0 @@

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