winston-couchdb
v0.6.3
Published
A CouchDB transport for Winston
Downloads
252
Readme
winston-couchdb
A full featured CouchDB transport for winston
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'
})