@abeai/pino-websocket

0.2.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @abeai/pino-websocket

Weekly Downloads

487

Version

0.2.1

License

MIT

Unpacked Size

21.7 kB

Total Files

7

Last publish

Collaborators

  • abe-ai
  • abeai-sam