Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Postmark transport for winston
CoffeeScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
Readme.md
package.json
winston-postmark.coffee
winston-postmark.js

Readme.md

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
Something went wrong with that request. Please try again.