growl transport logging for winston
$ npm install winston-growl
To make it work you will need to install [growl] 1 and [growlNotify] 2
Just add a growl option to your logger
var winston = require('winston');
require('winston-growl');
winston.loggers.add('logger', {
growl: {
/* sepcify transport options*/
}
// other transports
});
logger = winston.loggers.get('logger');
logger.info("info notification", {title:'optional title'});
logger.error("error notification", {title:'Errror'});
node test // should print a grow info and error msg