Title: LiKoToN Debug Logs
Author: likoton
Published: <strong>July 8, 2026</strong>
Last modified: July 8, 2026

---

Search plugins

![](https://ps.w.org/likoton-debug-logs/assets/banner-772x250.png?rev=3600839)

![](https://ps.w.org/likoton-debug-logs/assets/icon-256x256.png?rev=3600839)

# LiKoToN Debug Logs

 By [likoton](https://profiles.wordpress.org/likoton/)

[Download](https://downloads.wordpress.org/plugin/likoton-debug-logs.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/likoton-debug-logs/#description)
 * [Reviews](https://wordpress.org/plugins/likoton-debug-logs/#reviews)
 * [Development](https://wordpress.org/plugins/likoton-debug-logs/#developers)

 [Support](https://wordpress.org/support/plugin/likoton-debug-logs/)

## Description

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

## Screenshots

[⌊Logs tab⌉⌊Logs tab⌉[

Logs tab

[⌊Logs tab in dark mode⌉⌊Logs tab in dark mode⌉[

Logs tab in dark mode

## FAQ

### 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.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“LiKoToN Debug Logs” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ likoton ](https://profiles.wordpress.org/likoton/)

“LiKoToN Debug Logs” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/likoton-debug-logs/contributors)
for their contributions.

[Translate “LiKoToN Debug Logs” into your language.](https://translate.wordpress.org/projects/wp-plugins/likoton-debug-logs)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/likoton-debug-logs/),
check out the [SVN repository](https://plugins.svn.wordpress.org/likoton-debug-logs/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/likoton-debug-logs/)
by [RSS](https://plugins.trac.wordpress.org/log/likoton-debug-logs/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

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

## Meta

 *  Version **1.0.0**
 *  Last updated **18 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.0**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/likoton-debug-logs/) and [Spanish (Spain)](https://es.wordpress.org/plugins/likoton-debug-logs/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/likoton-debug-logs)
 * Tags
 * [debug](https://wordpress.org/plugins/tags/debug/)[developer](https://wordpress.org/plugins/tags/developer/)
   [logs](https://wordpress.org/plugins/tags/logs/)[php](https://wordpress.org/plugins/tags/php/)
   [tools](https://wordpress.org/plugins/tags/tools/)
 *  [Advanced View](https://wordpress.org/plugins/likoton-debug-logs/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/likoton-debug-logs/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/likoton-debug-logs/reviews/)

## Contributors

 *   [ likoton ](https://profiles.wordpress.org/likoton/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/likoton-debug-logs/)