Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@storyous/winston-gelf

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storyous/winston-gelf

GELF transport for Winston

  • 0.0.3
  • latest
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

Winston GELF Transport

A GELF transport for Winston

Installation

  $ npm install winston
  $ npm install @storyous/winston-gelf

Usage

  const winston = require('winston');
  const { GELFTransport, ConsoleReporter } = require('winston-gelf');
  const options = {
    reporters: [new ConsoleReporter()],
  };

  const logger = new(winston.Logger)({
      transports: [new GELFTransport(options)]
  });

Options

  • reporters: List of reporters
  • version: Current application version
  • hostname: Hostname of application (default: os.hostname())
  • environment: Environment (default: process.env.NODE_ENV)
  • service: Service name (default: nodejs)
  • silent: Should silence reporters (default: false)
  • level: Level to report (default: info)

Keywords

FAQs

Package last updated on 24 Apr 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc