proteus-error-report

0.0.2 • Public • Published

proteus error reporter

Proteus error reporter collect client errors.

Usage

var reporter = require('proteus-error-reporter');

..

reporter
	.express(app, {
		format: 'text-block',
		path: '/report' // listening path on express app
	})
	.on('report', function(block) {
		logger.log(block);
});

Formats

  • text-block Formmated text block.

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i proteus-error-report

    Weekly Downloads

    3

    Version

    0.0.2

    License

    none

    Last publish

    Collaborators

    • suguru
    • kohei