
內容簡介
您是否想要使用 Papertrail 更好地監控您的網站?這個外掛將會使您能夠將 PHP 錯誤訊息自動傳送到 Papertrail,即使您不具有相關知識、時間或是訪問權限,也能輕鬆安裝 Papertrail hooks。您只需要安裝並輸入 Papertrail 的資訊,外掛就會自動將 WordPress 內的所有 PHP 錯誤和例外傳送給 Papertrail。
注意事項
您需要擁有 Papertrail 帳戶,對於大多數使用情況而言,此帳戶是免費的。
使用此外掛將會繞過 WordPress 執行中的標準 PHP 錯誤處理器 與 PHP 例外處理器。當例外處理器傳送到 Papertrail 後,例外狀況即會重新拋出。
相關資源
Papertrail Logging API
Troy 的 send_remote_syslog.php
PHP 錯誤處理器
外掛開發手冊
例外處理
PHP 程式碼覆蓋率
建立管理選項頁面
WordPress readme.txt
外掛標籤
開發者團隊
原文外掛簡介
Do you want to use Papertrail for better monitoring your websites? This plugin will enable you to send php-errors to Papertrail even if you do not have the knowledge, time or access to install the proper Papertrail hooks. You only need to install the plugin and enter your Papertrail information. The plugin will automatically send all the php errors and exceptions happening within WordPress to papertrail.
Notes
A Papertrail account is needed, which is free for most use cases.
Using this plugin will bypas the standard PHP error handler and php exception handler within the script execution of WordPress. When the exception is posted to papertrail the exceptions are retrown.
Resources
Papertrail Logging API
Troy’s send_remote_syslog.php
Php’s error handler
Plugin Handbook
Exception handling
PHP code coverage
Creating admin option pages
WordPress readme.txt
