Socket
Socket
Sign inDemoInstall

@abeai/pino-websocket

Package Overview
Dependencies
22
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @abeai/pino-websocket

A pino 'transport' for writing to a websocket


Version published
Weekly downloads
462
increased by8.45%
Maintainers
2
Install size
2.34 MB
Created
Weekly downloads
 

Readme

Source

pino-websocket

This module provides a "transport" for [pino][pino] that simply forwards messages to a websocket socket server. The module can echo the received logs or work silently.

You should install pino-websocket globally for ease of use:

$ npm install -g @abeai/pino-websocket

Usage

Given an application foo that logs via [pino][pino], and a webscoket server that collects logs on port 5000 on IP 10.10.10.5, you would use pino-websocket like so:

$ node foo | pino-websocket -a 10.10.10.5 -p 5000

FAQs

Last updated on 04 Nov 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc