1.0.1 • Published 3 years ago
web-events-logger v1.0.1
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