0.6.3 • Published 9 years ago

winston-couchdb v0.6.3

Weekly downloads
96
License
MIT
Repository
-
Last release
9 years ago

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