Skip to content

mcrummey/winston-groonga

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

winston-groonga

A Winston transport for Groonga Database

v 1.0.0 - 05/05/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'
})

About

A Winston transport for Groonga Database.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%