1.0.0 • Published 9 years ago

winston-riemann-transport v1.0.0

Weekly downloads
4
License
BSD-2-Clause
Repository
github
Last release
9 years ago

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
1.0.0

9 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago