
內容簡介
LiKoToN Debug Logs 是一款輕量級的 WordPress 調試外掛,能自動收集 PHP 錯誤、WordPress 錯誤、REST API 請求及使用者登入事件,並提供清晰的日誌檢視器,適合開發者和管理員使用。
【主要功能】
• 自動收集 PHP 錯誤與警告
• 支援 REST API 請求日誌
• 提供 AJAX 實時過濾功能
• 支援無限滾動與客戶端排序
• 可導出 CSV 格式日誌
• 支援深色模式
外掛標籤
開發者團隊
原文外掛簡介
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.
Description (pl_PL)
LiKoToN Debug Logs to lekka i nowoczesna wtyczka debugująca dla WordPressa, która automatycznie zbiera:
błędy i ostrzeżenia PHP
błędy WordPressa (wp_error_added)
wywołania REST API (ścieżka, metoda, parametry)
logowania użytkowników
własne logi przez Likoton_Debug_Logs_Logger::log()
Wtyczka oferuje czytelny panel logów z:
filtrowaniem AJAX
nieskończonym przewijaniem (infinite scroll)
sortowaniem po kolumnach
wyszukiwaniem, filtrem poziomu, źródła i ostatnich X logów
kolorowymi znacznikami poziomów i źródeł
trybem ciemnym
eksportem CSV (czas UTC + lokalny)
automatycznym czyszczeniem logów
Idealna dla deweloperów i administratorów, którzy chcą mieć pełną kontrolę nad tym, co dzieje się w WordPressie.
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
