Linux 软件免费装

JS Error Logger

开发者 jfgmedia
更新时间 2024年12月6日 17:47
PHP版本: 7.2.0 及以上
WordPress版本: 6.7
版权: GPLv2 or later
版权网址: 版权信息

标签

debug javascript js dashboard widget error reporting

下载

1.1.7 1.1.3 1.1.6 1.1.9 1.1.10 1.0 1.1 1.1.1 1.1.2 1.1.4 1.1.5

详情介绍:

The plugin catches most JS errors, logs them, and displays them in a dashboard widget. Here are some of its features: 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.

安装:

  1. Visit the Plugins page within your dashboard and select "Add New"
  2. Search for "JS Error Logger"
  3. Click "Install"

屏幕截图:

  • The full error log from within the plugin settings
  • Some of the settings

升级注意事项:

Not available at the moment

更新日志:

1.1.10 1.1.9 1.1.7 1.1.6 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.0