JS Error Logger Wordpress Plugin - Rating, Reviews, Demo & Download

JS Error Logger Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

The plugin catches most JS errors, logs them, and displays them in a dashboard widget.

Here are some of its features:

  • Except for the plugin settings, there is no database storage involved. Log is written in a “.log” file.
  • Display latest JS errors in a dashboard widget.
  • Refresh errors from the dashboard widget.
  • See the full error log on a separate page.
  • Ignore errors if the user agent contains a specific string.
  • Ignore errors if the error contains a specific string.
  • Ignore errors if the script url contains a specific string.
  • See which page and which script triggered the errors.

WP Filters

Log Maintenance:
The plugin cleans the log every 24 hours, to only keep the last 100 entries.
“jserrlog_max_log_entries” to enable more or less entries, by returning an integer: add_filter('jserrlog_max_log_entries',function(){return 200;})

Max errors to log per page:
To prevent logging errors coming from infinite loops, the plugin will not log more than 10 errors per page load.
“jserrlog_max_errors_per_page” to increase or decrease the number of logged errors per page load, by returning an integer: add_filter('jserrlog_max_errors_per_page',function(){return 15;})

Ajax calls:
By default, the plugin will call the server each time an error is triggered.
“jserrlog_send_on_visibility_change” to only make one server call when the page visibility changes (tab change, browser reduced, etc…), by returning true: add_filter('jserrlog_send_on_visibility_change','__return_true')

Post Type Exclusion:
By default, the plugin will add its script on all post types.
“jserrlog_ignored_post_types” to ignore specific post types, by returning an array of post types: add_filter('jserrlog_ignored_post_types',function(){return ['post','products','my_cpt'];})

Multisite

The plugin works with multisite. There’s one error log per site.

Screenshots

No screenshots provided


Reviews & Comments