winston-growl

A growl transport for winston

npm install winston-growl
2 downloads in the last day
18 downloads in the last week
37 downloads in the last month

winston-growl

growl transport logging for winston

install

$ npm install winston-growl

To make it work you will need to install growl and growlNotify

usage

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

growl info screenshot

growl error screenshot

test

node test // should print a grow info and error msg
npm loves you