Skip to content

mblackshaw/winston-postmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Postmark transport for winston

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published