winston-growl

0.0.8 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i winston-growl

Weekly Downloads

7

Version

0.0.8

License

none

Last publish

Collaborators

  • pgherveou2