Skip to content

mronager/winston-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

winston-kafka

A Kafka transport for winston logging library.

Installation

  $ npm install winston
  $ npm install winston-kafka

Build Status

Usage

  var winston = require('winston');

  // Adds a Kafka transport (it also adds the field `winston.transports.Kafka`)
  winston.add(require('winston-kafka'), options);

The Kafka transport accepts the following options:

  • level: Level of messages that this transport should log (default: 'info').
  • zookeeperHost: Hostname and port to the zookeeper server (host:port).
  • topic: The topic to submit the messages to.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages