
內容簡介
ScriptTrace: JS Error Logger 是一款用於捕捉前端 JavaScript 錯誤的外掛,能夠記錄未處理的 Promise 拒絕、失敗的腳本、圖片及樣式表加載。報告將發送至 WordPress REST API 並儲存在本地資料庫中。
【主要功能】
• 捕捉前端 JavaScript 錯誤及未處理的 Promise 拒絕
• 分組重複錯誤並計算發生次數
• 記錄錯誤訊息、堆疊追蹤及來源 URL
• 設定日誌保存期限(7、30、90、180 天或無限期)
• 可選擇每小時複製獨特錯誤至 PHP 錯誤日誌
外掛標籤
開發者團隊
② 後台搜尋「ScriptTrace: JS Error Logger」→ 直接安裝(推薦)
原文外掛簡介
ScriptTrace: JS Error Logger captures frontend JavaScript errors, unhandled promise rejections, and failed script, image, and stylesheet loads. Reports are sent to your WordPress REST API and stored in a local database table.
View captured errors under the dedicated ScriptTrace: JS Error Logger admin menu.
Group repeated errors and count their occurrences.
Record messages, available stack traces, page and source URLs, line and column numbers, and user agents.
Enable or disable logging and exclude logged-in administrators.
Keep records for 7, 30, 90, or 180 days, or indefinitely.
Optionally copy each unique error to the PHP error log at most once per hour across visitors and pages. Reports continue to be stored and counted normally.
Logging is enabled by default. Logged-in administrators are excluded by default, data retention defaults to 30 days, and PHP log mirroring is disabled by default.
Reports are stored on your WordPress installation; the plugin does not send them to an external logging service. Error messages, stack traces, and URLs can contain information supplied by other scripts on your site.
Quality Assurance
This plugin is community-tested on PluginPeer, an independent platform for WordPress plugin quality assurance.
View detailed QA test results on PluginPeer
