Skip to content

majimboo/winston-couchbase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

winston-couchbase

NPM

A Couchbase transport for winston.

Installation

$ npm install winston
$ npm install winston-couchbase --save

Usage

var winston = require('winston');
// exposes `winston.transports.Couchbase`
var winstonCb = require('winston-couchbase');
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.

TODO

  • Use a single document to store all logs

About

A couchbase transport for winston.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published