LiKoToN WP Debug

LiKoToN WP Debug is a lightweight and modern WordPress plugin that automatically collects PHP errors, WordPress errors, REST API calls, and user logins. It displays all this information in a clear, sortable, and filterable table. It also offers a dark mode interface and CSV export.

Features

Log Collection

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

Logs Viewer

  • Live AJAX filtering (search, level, source, last X logs)
  • Client-side sorting by any column
  • Automatic sorting by newest date
  • Colored badges for levels and sources
  • Responsive table with horizontal scroll
LiKoToN WP Debug Logs tab
Logs tab

Dark Mode

  • WordPress 7-style toggle
  • Automatically applied to Logs, Settings, and Donation pages
LiKoToN WP Debug Logs tab dark mode
Dark mode

Settings

  • Dark mode toggle
  • Log retention (30m → 1 month)
  • Capability required to access logs (Administrator / Editor / Moderator)
  • Auto-save via AJAX with toast notification
LiKoToN WP Debug Settings tab
Settings tab

Automatic Cleanup

  • WP-Cron based cleanup
  • Configurable retention interval
  • Automatic table optimization

Export

  • Export all logs to CSV
  • Secure via nonce and capability check

Available log levels

  • PSR‑3 + extended PHP levels

Installation

From WordPress Dashboard

  1. Dowload likoton-wp-debug.zip
  2. In the WordPress dashboard, select Plugins -> Add Plugin -> Upload Plugin
  3. Upload the plugin ZIP
  4. Activate LiKoToN WP Debug
  5. Go to LiKoToN WP Debug → Logs

Manual Installation

  1. Dowload likoton-wp-debug.zip
  2. Unzip the likoton-wp-debug.zip file
  3. Upload folder likoton-wp-debug to /wp-content/plugins/ or wherever you install your plugins
  4. In the WordPress dashboard, select Plugins and activate the LiKoToN WP Debug plugin
  5. Go to LiKoToN WP Debug → Logs

FAQ

  1. Does this slow down my site?
    No — logs are inserted asynchronously and stored in a dedicated table.
  2. Can I export logs?
    Yes, via Export logs (CSV) button.
  3. Can I change who can access logs?
    Yes — choose capability in Settings.
  4. Does it support multisite?
    Yes, each site has its own logs table.

Changelog

1.0.0

  • Initial release
  • PHP/WP/REST/login logging
  • AJAX filters
  • Dark mode
  • CSV export
  • Automatic cleanup
  • Capability control

Source code