web-events-logger
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

web-events-logger

Logs DOM events

Usage

import Logger from 'web-events-logger'

const logger = new Logger({ url: '/my-logging-endpoint', debug: true /* logging is disabled in development by default */ })

logger.captureError(new Error('Huh?'))

// automatically logs console errors, exceptions and csp violations

License

License: MIT

Package Sidebar

Install

npm i web-events-logger

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

20.4 kB

Total Files

5

Last publish

Collaborators

  • afirus