joeybaker / winston-hipchat

A Hipchat transport for winston
https://github.com/joeybaker/winston-hipchat
MIT License
4 stars 8 forks source link

Not working #3

Closed thalesfsp closed 8 years ago

thalesfsp commented 8 years ago

@JoeParrinello @joeybaker

var winston = require('winston');
var winstonHipchat = require('winston-hipchat').Hipchat;

/**
 * Winston setup
 */

winston.add(winstonHipchat, {
  level: 'info',
  token: 'ASDASDASD',
  notify: true,
  color: 'red',
  room: '123123123',
  from: 'ASD',
  messageFormat: 'text'
});

winston.info('test'); // Nothing happens in HipChat

Guys, I'm doing something wrong? Would be nice if have some example ;)