npm

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.

Readme

Keywords

none

Package Sidebar

Install

npm i proteus-error-report

Weekly Downloads

1

Version

0.0.2

License

none

Last publish

Collaborators

  • suguru
  • kohei