Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    winston-grayloggerpublic

    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')

    Keywords

    none

    install

    npm i winston-graylogger

    Downloadsweekly downloads

    4

    version

    0.0.1

    license

    none

    last publish

    collaborators

    • avatar