Socket
Socket
Sign inDemoInstall

winston-udp-transport

Package Overview
Dependencies
8
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    winston-udp-transport

UDP transport for winston logger


Version published
Weekly downloads
80
increased by45.45%
Maintainers
2
Install size
2.18 MB
Created
Weekly downloads
 

Readme

Source

winston-udp-transport

Transport for winston logger to write logs via UDP

Usage

import { UDPTransport } from 'winston-udp-transport';

...

const options = {
    host: <host>,
    port: <port>,
    node_name: <this_node_name>,
    appName: <your_app_name>,
    level: <minimum_logging_level>,
    ...
}

winston.add(UDPTransport, options);
transports.push(new UDPTransport(options));

License

MIT

Keywords

FAQs

Last updated on 10 Jan 2022

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