An Amazon SES transport for winston
CoffeeScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Readme.md
package.json
winston-ses.coffee
winston-ses.js

Readme.md

winston-ses

A Amazon SES transport for winston. Inspired by winston-graylog2 transport and amazon-ses.

Installation

Tested on node-0.6.x, requires npm.

  $ npm install winston-ses

Usage

  var winston = require('winston');
  winston.add(require('winston-ses').Ses, 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)

  • sesAccessKey: Your SES access key.

  • sesSecretKey: Your SES secret key.

  • sesFrom: From email address.

  • sesTo: To email address (can be an array of email addesses or a string)

  • sesSubject: Email subject line