imsky / winston-rsyslog2

A (working) rsyslog transport for winston
MIT License
5 stars 7 forks source link

winston.transports.Rsyslog == undefined #7

Open tbenade opened 9 years ago

tbenade commented 9 years ago

Hi, logging been working a treat then some odd "undefined" behaviour today.

var winston = require('winston');
require('winston-rsyslog2');
console.dir(winston.transports.Rsyslog);

// > undefined

package.json dependencies

"dependencies": {
    "winston": "^1.0.2",
    "winston-rsyslog2": "0.0.5"
  }

any ideas why the Rsyslog transport would be undefined?

imsky commented 9 years ago

weird, i'll check it out