[WordPress] 外掛分享: Logging with Papertrail

首頁外掛目錄 › Logging with Papertrail
WordPress 外掛 Logging with Papertrail 的封面圖片
10+
安裝啟用
尚無評分
3152 天前
最後更新
問題解決
WordPress 3.9.19+ v1.0.0 上架:2017-08-24

內容簡介

您是否想要使用 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

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Logging with Papertrail」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon