Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 535 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 535 Bytes

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'
})