A Couchbase transport for winston.
npm install winston-couchbase-2
var winston = require('winston');
// exposes `winston.transports.Couchbase`
var winstonCb = require('winston-couchbase-2');
winston.add(winston.transports.Couchbase, 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)