kemaric / winston-couchdb

A full-featured CouchDB transport for winston 2x. There is some initial support for winston 3x. Currently, only Winston 3x is supported.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A full-featured CouchDB transport for winston 2x. There is some initial support for winston 3x. Currently, only Winston 3x is supported.


Languages

Language:JavaScript 100.0%