Winston graylog2 transport
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json

README.md

var winston = require('winston')

require('winston-graylogger')

var log = new (winston.Logger)({
  levels:     winston.config.syslog.levels,
  transports: [],
})

log.add(winston.transports.Graylog2, {
  host:     'localhost',
  facility: 'whatever'
})

log.error('OH MA GOD')