winston-riemann-transport
v1.0.0
Published
A riemann transport for winston
Downloads
7
Readme
Winston Riemann Transport
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