0.0.1 • Published 12 years ago

winston-postmark v0.0.1

Weekly downloads
8
License
-
Repository
github
Last release
12 years ago

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