growl transport logging for winston
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
lib
test
.gitignore
.npmignore
README.md
package.json

README.md

winston-growl

growl transport logging for winston

install

$ npm install winston-growl

To make it work you will need to install [growl] 1 and [growlNotify] 2

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