email transport for book logging framework
Last updated 9 years ago by shtylman .
Repository · Original npm · Tarball · package.json
$ cnpm install book-email 
SYNC missed versions from official npm registry.

book-email is an email transport for the book logging framework. It will send the log message via email.


npm install book-email


book-email is used like all other book middleware. Just add it to your logger object. I recommend you create a file log.js for your project where you setup the logger however you desire across your entire project.

// some logger you have created
var log = require('book').default();

// adds the email logging middleware to the logger
    from: '',
    to: '',
    host: '',
    port: 587,

    // optional
    tls: true,
    user: 'foo',
    password: 'bar'

// log stuffs, it will be emailed out'hello world!');

An email will be dispatched to the specified smtp server with the json log entry

Current Tags

  • 0.0.1                                ...           latest (9 years ago)

1 Versions

  • 0.0.1                                ...           9 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2016 © |