前言介紹
- 這款 WordPress 外掛「Custom Error Log」是 2014-10-21 上架。
- 目前有 60 個安裝啟用數。
- 上一次更新是 2014-10-23,距離現在已有 3845 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.0.1 以上版本才可以安裝。
- 有 5 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
log | error | errors | error log | custom errors |
內容簡介
Custom Error Log 可以讓你在你的 WordPress 主題或外掛中使用一個簡單的功能創建自定義錯誤。非常適用於調試冗長和複雜的腳本。
每個錯誤都可以有自己的錯誤消息,這使得定位代碼中特定問題變得更加容易。你也可以記錄提醒以處理一些不太重要的問題。
你可以在 WordPress 管理區域中方便地查看所有錯誤和提醒。
外掛功能:
易於使用:使用簡單的功能創建錯誤。
有用的錯誤:為每個錯誤定義自定義錯誤消息。
記錄提醒:可以記錄提醒以處理較不重要的問題,並在管理區域中單獨查看。
跟踪:在 WordPress 管理區域中查看和管理所有錯誤。
工具欄圖標:管理工具欄顯示了當前頁面上發生的新錯誤和提醒的數量。
開始使用:
安裝並啟用插件,然後在管理菜單中轉到 工具 > 错误日志。這最終將是顯示所有最新錯誤的頁面,但如果您剛開始,它會詳細說明如何開始記錄自定義錯誤。
在你的主題中使用兩個內置功能之一 log_error($message); 或提醒 log_notice($message); 來記錄錯誤。
當執行這些功能時,它們將記錄想要的任何錯誤或提醒。
持續開發:
我剛剛開始使用這個外掛,並計劃將其改進。如果你有任何想法,請在支持部分提出建議。
翻譯:
此外掛支持多語言,但目前僅包含英語翻譯文件。如果您想貢獻任何翻譯,我將非常感激。
請注意:
此外掛針對具有至少基本 PHP 知識的開發人員。如果你不是這樣的開發人員,你可能無法從這個外掛中獲得太多幫助,但如果你不知道如何使用任何解釋的功能,你可以在外掛目錄的支持部分發帖,我將盡力幫助你。
原文外掛簡介
Custom Error Log allows you to create custom errors in your WordPress theme or plugin with a single function. Great for debugging those long and complex scripts.
Each error can have its own error message making it a lot easier to pin down specific issues in your code. You can also log notices for less serious issues.
All your errors and notices can be viewed conveniently in the WordPress admin area.
Plugin Features:
Easy Errors: Create errors with a simple function.
Useful Errors: Define a custom error message for each error.
Log notices: Notices can be logged for less serious issues and viewed seperately in the admin area.
Keep Track: View and moderate all your errors in the WordPress admin area.
Toolbar icon: The admin toolbar displays how many new errors and notices have occurred on the current page.
Getting Started:
Install and activate the plugin then in the admin menu go to Tools > Error Log. This will eventually be the page that displays all your latest errors but if you’re just getting started it explains in detail how to start logging custom errors.
In your theme use either of the two built in functions to log an error log_error($message); or a notice log_notice($message);.
When these functions are executed they will log whatever error or notice you want.
Ongoing Development:
I have only just started with this plugin and plan on bringing great improvements to it. If you have any ideas please suggest them in the support section.
Translation:
The plugin is translation ready but as of yet contains only an English translation file. If you would like to contribute any translations I would be very grateful.
Please note:
This plugin is aimed at developers who have at least a basic understanding of PHP. If this isn’t you then you may not find much use from this plugin however if you are unsure how to use any of the functions explained you can post a topic in the support section of the plugin directory and I will do my best to help you.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Custom Error Log」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。