前言介紹
- 這款 WordPress 外掛「Debug Log Manager」是 2022-09-12 上架。
- 目前有 7000 個安裝啟用數。
- 上一次更新是 2025-04-28,距離現在已有 6 天。
- 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
- 有 17 人給過評分。
- 論壇上目前有 5 個提問,問題解答率 100% ,不低,算是個很有心解決問題的開發者團隊了!
外掛協作開發者
外掛標籤
內容簡介
Debug Log Manager 可以讓您:
單擊啟用 WP_DEBUG 以記錄 PHP、數據庫和 JavaScript 錯誤,不需要手動編輯 wp-config.php 文件,完成後再禁用。
在自訂位置和以自訂檔案名稱為您創建 debug.log 檔案,以增強安全性。
將默認 / 現有的 debug.log 檔案內容複製到自定義的 debug.log 檔案中,並刪除默認 / 現有的 debug.log 檔案。這樣,日誌記錄可以繼續進行並進一步增強安全性。
解析 debug.log 檔案,查看不同的錯誤以及它們最後出現的時間,這比查看可能充滿重複錯誤的原始日誌檔案更好。
快速查找和篩選更具體的錯誤以進行調試。
通過識別錯誤來源(核心 / 插件 / 主題)和分離文件路徑和行號,使錯誤詳細信息讀起來更容易。
輕鬆查看產生 PHP 錯誤的文件。這包括 WordPress 核心、插件和主題文件。
啟用自動刷新以自動加載新的日誌條目。無需手動重新加載瀏覽器標籤,或在命令行上使用 tail -f 日誌檔案。
輕鬆清除 debug.log 檔案以節省磁盤空間,更輕鬆地觀察您網站上新出現的錯誤。
在啟用錯誤記錄時,在管理列上顯示指示器。
添加一個儀表板小部件,顯示最新的錯誤日誌。
使用 error_log() 將錯誤信息輸出到您的調試日誌中。例如,對於簡單的基於字符串的錯誤信息,使用 error_log( $error_message ),或者使用 error_log( json_encode( $error ) ) 來檢查更複雜的錯誤信息,例如陣列或對象。
如果您喜歡更簡單、更緊湊的 Debug Log Manager 版本,可以選擇使用 系統儀表板插件。
回饋意見
非常感謝您在 評價 中留下您的好評!
您可以提供反饋意見,以幫助改進未來的版本。
有志者可以協助翻譯插件至其他語言。
您也可以參與 Github 存儲庫,貢獻代碼。
如果您願意捐贈支持我的工作,請點擊 此處的連結。
也推薦您使用以下插件
系統儀表板:集中管理 WordPress 的各種組件、過程和數據,包括服務器。
變數檢視器:在 wp-admin 中的中央儀表板上檢查 PHP 變數,方便調試。
代碼瀏覽器:帶有語法高亮功能的快速目錄瀏覽器和文件 / 代碼查看器。
數據庫管理插件:基於自定義主題的 Adminer 應用程序的清潔、易於使用的界面,安全地管理 WordPress 網站的數據庫。此插件僅在 Github 上提供。
管理和網站增強插件:可輕鬆增強各種管理工作流程和網站方面,同時替換多個插件。
原文外掛簡介
Debug Log Manager allows you to:
Enable WP_DEBUG with one click to log PHP, database and JavaScript errors when you need to, and disable it when you’re done. No need to manually edit wp-config.php file.
Create the debug.log file for you in a non-default location with a custom file name for enhanced security.
Copy the content of the default / existing debug.log file into the custom debug.log file, and delete the default / existing debug.log file. So there is continuation in logging and enhanced security going forward.
Parse the debug.log file and view distinct errors and when they last occurred, which is better than looking at the raw log file (potentially) full of repetitive errors.
Quickly find and filter more specific errors for your debugging work.
Make error details easier to read by identifying error source (core / plugin / theme) and separating file path and line number.
Easily view files where PHP errors occurred. This includes WordPress core, plugin and theme files.
Enable auto-refresh to automatically load new log entries. No need to manually reload the browser tab, or to tail -f the log file on the command line.
Easily clear the debug.log file to save disk space and more easily observe newly occurring errors on your site.
Show an indicator on the admin bar when error logging is enabled.
Add a dashboard widget showing the latest errors logged.
Use error_log() to output error info into your debug log. e.g. error_log( $error_message ) for simple, string-based error message, or error_log( json_encode( $error ) ) when inspecting a more complex error info, e.g. array or object.
A simpler and more compact version of Debug Log Manager is included as part of the System Dashboard plugin, should you prefer a single plugin that does more.
What Users Say
“This is a great plugin for dev especially for people who tinker in the code.” ~PK Son
“I have used a couple of other logger plugins and this is by far the best one.” ~Brian Henry
“Another massive time-saving tool.“ ~Jeff Starr
Give Back
A nice review would be great!
Give feedback and help improve future versions.
Help translate into your language.
Github repo to contribute code.
Sponsor my work.
Check These Out Too
System Dashboard: Central dashboard to monitor various WordPress components, processes and data, including the server.
Variable Inspector: Inspect PHP variables on a central dashboard in wp-admin for convenient debugging.
Admin and Site Enhancements helps you to easily enhance various admin workflows and site aspects while replacing multiple plugins doing it.
WordPress Newsboard: The latest news, articles, podcasts and videos from 100+ WordPress-focused sources.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Debug Log Manager」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.0.1 | 1.1.0 | 1.2.0 | 1.3.0 | 1.3.1 | 1.3.3 | 1.4.0 | 1.5.0 | 1.5.1 | 1.5.2 | 1.5.3 | 1.6.0 | 1.6.1 | 1.6.2 | 1.6.3 | 1.6.4 | 1.7.0 | 1.8.0 | 1.8.2 | 1.8.3 | 1.8.4 | 1.8.5 | 1.8.6 | 1.8.7 | 1.9.0 | 1.9.1 | 2.0.0 | 2.1.0 | 2.1.3 | 2.1.4 | 2.2.0 | 2.2.1 | 2.2.2 | 2.3.0 | 2.3.1 | 2.3.2 | 2.3.3 | 2.3.4 | 2.3.5 | 2.3.6 | trunk |
延伸相關外掛(你可能也想知道)
Elementor Beta (Developer Edition) 》成為我們未來版本的一部分, 透過安裝 Developer Edition 外掛,Elementor使用者可以提前一窺未來功能。我們邀請你參與並測試我們的 Developer Edition。這樣...。
P3 (Plugin Performance Profiler) 》這個外掛程式可以創建您 WordPress 網站的外掛程式效能概況,並且藉由測量這些外掛對網站載入時間的影響。通常WordPress網站由於過多或配置不佳的外掛程式而...。
FakerPress 》當您創建新的主題或外掛時,您總是需要創建自訂數據以測試您的外掛是否正常運作,作為開發人員,我們自己也遇到過這個問題。, 我們這個外掛的目標是填補這個...。
Maintenance Mode 》這個外掛主要是針對需要讓客戶在網站對外公開之前預覽網站,或是在 WordPress 網站進行重大更新時暫時隱藏網站的開發者。 , 任何具有 WordPress 管理員權限的...。
Debug This 》Debug This是由友好Macho Themes團隊打造、維護和運營的獨立外掛程式。, 對於管理員、開發人員和支援人員,Debug This提供了大量的有關WordPress安裝的信息,...。
Debug Log – Manager Tool 》這是一個簡單的除錯日誌外掛程式,您可以在儀表板中檢查除錯日誌。透過一個點擊,您可以啟用或停用除錯功能(例如 ‘ WP_DEBUG’、‘WP_DEBUG...。
ReactPress – Create React App for WordPress 》ReactPress 讓你可以輕鬆地創建、構建和部署 React 應用程序到現有的 WordPress 網站。使用你的 React 知識為你的 WordPress 客戶創建單頁應用程序。, 只需幾...。
Developer 》一個能幫助 WordPress 開發者進行開發的外掛。, 這個外掛將幫助您優化您的開發環境,確保您已安裝所有必要的工具和外掛。, 如果您想查看代碼並做出貢獻,加入...。
Debug Bar Console 》在除錯列中新增了一個PHP/MySQL控制台。需要 Debug Bar 插件 (v0.5或更新版本)。。
System Dashboard 》這個外掛提供了一個中央儀表板,用於監視各種 WordPress 組件、進程和數據,包括伺服器硬體、軟體和資源使用情況。與 Query Monitor 和 WP Console 配對使用...。
Theme Inspector 》這個輕量級的外掛提供在開發 WordPress Classic 主題時可以使用的有用技術資訊,並在頁面和文章上顯示這些資訊。它提供簡單的訪問,例如文章/頁面 ID、slug、...。
Term Menu Order 》這個外掛旨在幫助主題和外掛開發人員。, 該外掛的目的是允許任意的詞彙排序,類似於頁面。這可以讓檢索詞彙的查詢使用 ‘menu_order’ 作為排序順...。
Ray 》Ray 是一款美觀、輕量的桌面應用程式,可幫助您進行應用程式的偵錯操作。可使用免費試用版,也可透過許可證進行解鎖。, 安裝此外掛後,您可以使用 ray() 函數...。
Bulk Content Creator 》作為 WordPress 開發人員,您可能想要快速創建多個帖子。使用批量內容創建器,您可以從單一界面創建多個帖子、頁面或其他自定義帖子類型。您還可以為帖子類型...。
J7 Beaver Header Footer Templates 》, 相容於 Beaver Builder 主題, , 你可以透過 Beaver Builder 外掛自建一個 header 並儲存排版,接著,透過 J7 Beaver Headers Footers 外掛輕鬆套用到你的網...。