[WordPress] 外掛分享: Yet Another Logger Plugin

首頁外掛目錄 › Yet Another Logger Plugin
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
全新外掛
安裝啟用
尚無評分
5540 天前
最後更新
問題解決
WordPress 3.0+ v1.0 上架:2011-02-11

內容簡介

這個外掛提供了一個 API 可以透過 FirePHP 或電子郵件來發送記錄和除錯資料。它提供了三個記錄功能(wp_yalp_info、wp_yalp_warning、wp_yalp_error)和三個記錄等級:錯誤、警告、資訊。在外掛初始化後,您可以在您的程式碼中調用這些函數,以將您的資料發送到日誌系統。這些函數接收兩個參數:必需的第一個是您要記錄的物件(字串、陣列等等),第二個可選的插件是標籤,用於識別您的日誌資料。

如果當前使用者是管理員或其 IP 地址已啟用以接收它,則日誌資料將自動透過 FirePHP 系統發送。如果已配置,該外掛還會將日誌資料通過電子郵件發送給網站管理員。

此外,此外掛還提供了一些可選的自動日誌:資料庫查詢、電子郵件和文章元資料。

外掛標籤

開發者團隊

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

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

原文外掛簡介

This plugin provides an API to send logging and debugging data via FirePHP or
via e-mail.
It provides 3 logging functions (wp_yalp_info, wp_yalp_warning, wp_yalp_error) for 3 log levels: error, warning, info. You can call these functions in your code (after plugin initialization) to send your data to the logging system. These functions receive 2 parameters: the first one, mandatory, is the object that you want to log (string, array, etc.) and the second optional plugin is a label to identify your log data.
The log data is automatically sent via the FirePHP system if the current user is the administrator or his IP address is enabled to receive it. If configured, the plugin also sends the log data via e-mail to the website administrator.
This plugin also provides some optional automatic logs for database queries, e-mail
and posts meta.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon