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