winston-riemann-transport

1.0.0 • Public • Published

Winston Riemann Transport

Build Status

A riemann transport for winston

Usage

  var winston = require('winston');
  
  //
  // Requiring `winston-riemann-transport` will expose 
  // `winston.transports.Riemann`
  //
  require('winston-riemann-riemann');
  
  winston.add(winston.transports.Riemann, options);
  • logLevel: Level of messages that this transport should log.
  • host: The hostname of your riemann server. [required]
  • port: The port your riemann server is listening on. Defaults to 5555.
  • name: The service name for your log messages (see riemann docs). Defaults to the filename of the module that required the transport.
  • tags: A string or array of strings to send as tags with the log message. The transport will also add 'Log' and the log level as tags with the message.

Installing winston-riemann-transport

  $ npm install winston
  $ npm install winston-riemann-transport

/winston-riemann-transport/

    Package Sidebar

    Install

    npm i winston-riemann-transport

    Weekly Downloads

    1

    Version

    1.0.0

    License

    BSD-2-Clause

    Last publish

    Collaborators

    • 7digital
    • c24w