node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

winston-couchdb

winston-couchdb

A full featured CouchDB transport for winston

Build Status

Install

npm i --save winston winston-couchdb

Setup

var winston = require('winston')
  , winstonCouch = require('winston-couchdb').Couchdb
 
winston.add(winstonCouch, {
  host: 'localhost'
  , port: 5984
  // optional 
  , auth: {username: 'user', password: 'pass'}
  , secure: false
  , level: 'info'
})