winston-couchbase-2

1.0.0 • Public • Published

Winston Couchbase 2

NPM

A Couchbase transport for winston.

Installation

npm install winston-couchbase-2

Usage

var winston = require('winston');
// exposes `winston.transports.Couchbase`
var winstonCb = require('winston-couchbase-2');
winston.add(winston.transports.Couchbase, options);

Options

  • level (default: info): level of the message this transport should log.
  • bucket (default: default): bucket where to store logs.
  • prefix (default: wl::): prefix of your keys.
  • host (default: 127.0.0.1:8091): address of the couchbase server.
  • expiry (default: 0): when the log should expire (seconds)

Package Sidebar

Install

npm i winston-couchbase-2

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

4.88 kB

Total Files

4

Last publish

Collaborators

  • compknowhow