[WordPress] 外掛分享: LiKoToN Debug Logs

首頁外掛目錄 › LiKoToN Debug Logs
WordPress 外掛 LiKoToN Debug Logs 的封面圖片
全新外掛
安裝啟用
尚無評分
22 天前
最後更新
問題解決
WordPress 6.0+ v1.0.0 上架:2026-07-07

外掛標籤

開發者團隊

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

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

原文外掛簡介

LiKoToN Debug Logs is a lightweight, modern debugging plugin for WordPress that automatically collects:

PHP errors and warnings
WordPress errors (wp_error_added)
REST API requests (route, method, params)
User login events
Custom logs via Likoton_Debug_Logs_Logger::log()

It includes a clean log viewer with:

AJAX live filtering
Infinite scroll
Client-side sorting
Search, level, source and “last X logs” filters
Color-coded badges
Dark mode
CSV export (with UTC and local timestamps)
Automatic cleanup based on retention settings

Perfect for developers, administrators and anyone who needs a clear view of what happens inside WordPress.
Features
Log Collection

PHP errors & warnings
WordPress errors (wp_error_added)
REST API requests (route, method, params)
User login events
Custom logs via Likoton_Debug_Logs_Logger::log()

Logs Viewer

AJAX live filtering
Infinite scroll
Search, level, source, last X logs
Client-side sorting
Color-coded badges
Responsive table

Dark Mode

WordPress 7-style toggle
Applies to all plugin pages

Settings

Dark mode
Log retention (30m → 1 month)
Capability required to view logs
Auto-save via AJAX with toast notification
Selectable log levels (only enabled levels are shown in the viewer)

Automatic Cleanup

WP-Cron based
Configurable retention
Table optimization

Export

Export all logs to CSV
Includes created_at_utc and created_at_local
Secured with nonce & capability check

Developer API
Custom logs
`php

Likoton_Debug_Logs_Logger::log( ‘info’, ‘custom_source’, ‘Something happened’, [ ‘extra’ => ‘data’ ] );
Supported log levels (PSR-3 + extended PHP levels):

debug,
info,
notice,
warning,
error,
critical,
alert,
emergency,
deprecated,
user_deprecated,
strict,
parse,
core_error,
core_warning,
compile_error,
compile_warning,
recoverable_error,
user_error,
user_warning,
user_notice

延伸相關外掛

文章
Filter
Mastodon