winston-groonga

2.0.1 • Public • Published

winston-groonga

A Winston transport for Groonga Database

v 2.0.1 - 11/23/2016

Installation

npm i --save winston winston-groonga

Setup

var winston = require('winston'),
    winstonGroonga = require('winston-groonga').Groonga;
 
winston.add(winstonGroonga, {
  host: 'localhost',
  port: 5984,
  protocol: 'http'
  table: 'logs',
  level: 'info'
})
 
or
 
winston.add(winstonGroonga, {
  protocol: 'http'
  url: 'your.path.url:port/path',
  table: 'logs',
  level: 'info'
})
 
or
 
winston.add(winstonGroonga, {
  host: 'localhost',
  port: 5984,
  path: '/your/pathe/here',
  protocol: 'http'
  table: 'logs',
  level: 'info'
})

Package Sidebar

Install

npm i winston-groonga

Weekly Downloads

2

Version

2.0.1

License

MIT

Last publish

Collaborators

  • validusa