Апісанне
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 time 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, time
- 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_utcandcreated_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
Ўсталёўка
From WordPress Dashboard
- Upload the plugin ZIP
- Activate LiKoToN Debug Logs
- Go to LiKoToN Debug Logs Logs
Manual Installation
- Upload folder
likoton-debug-logsto/wp-content/plugins/ - Activate plugin
- Logs appear in the main admin menu
Часта задаваныя пытанні
-
Does this slow down my site?
-
No, logs are stored in a dedicated table and inserted efficiently.
-
Can I export logs?
-
Yes, via the Export logs (CSV) button.
-
Can I restrict access?
-
Yes, choose the required capability in Settings.
-
Multisite support?
-
Yes, each site has its own logs table.
Водгукі
На гэты плагін няма водгукаў.
Удзельнікі і распрацоўшчыкі
“LiKoToN Debug Logs” з’яўляецца праграмным забеспячэннем з адкрытым зыходным кодам. Наступныя людзі ўнеслі свой уклад у гэты плагін.
Удзельнікі“LiKoToN Debug Logs” перакладзены на 2 мовы. Дзякуй перакладчыкам за іх унёсак.
Перакласці “LiKoToN Debug Logs” на вашу мову.
Зацікаўлены ў распрацоўцы?
Праглядзіце код, праверце SVN рэпазітарый, або падпішыцеся на журнал распрацоўкі па RSS.
Журнал змяненняў
1.3.0
– Add option to skip writing a new log row when the same level, source and message was already logged
1.2.0
– A date range selection filter has been added
1.1.0
– Persistent table sort order
– Per-level colors in the Log Levels settings control
– Configurable source badge colors via REST API
1.0.0
– Initial release
– PHP/WP/REST/login logging
– AJAX filters
– Infinite scroll
– Dark mode
– CSV export (UTC + local time)
– Automatic cleanup
– Capability control
– Selectable log levels



