winston-couchdb

A CouchDB transport for Winston

npm install winston-couchdb
23 downloads in the last week
157 downloads in the last month

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'
})
npm loves you