node package manager

winston-postmark

winston-postmark

A Postmark transport for winston. Inspired by winston-graylog2 transport and postmark.js.

Installation

Tested on node-0.6.x, requires npm.

  $ npm install winston-postmark

Usage

  var winston = require('winston');
  winston.add(require('winston-postmark').Postmark, options);
 

Options are the following:

  • level: Level of messages this transport should log. (default: info)

  • silent: Boolean flag indicating whether to suppress output. (default: false)

  • postmarkApiKey: Your Postmark API key.

  • postmarkFrom: From email address.

  • postmarkTo: To email address

  • postmarkSubject: Email subject line