Provide a PSR-3 compatible logger for WordPress core that writes to the debug.log
As of April 2026, Debug Logger is a WordPress logs plugin with 0 active installations and a 0/5 rating0. It has been downloaded 990 times in total. Requires WordPress 5.7+ and PHP 7.4+. Available on WordPress.org since 2021. Last updated 4 years ago — may have compatibility concerns. Top alternative: Stream.
As PHP moves forward, so must WordPress. This plugin helps WordPress use the tools of modern PHP. Monolog — PHP’s most popular logging package — is a composer package. Since WordPress doesn’t currently have a universal way to support composer, this WordPress plugin is meant to start bridging the gap. This logger is PSR-3 compliant, a PHP standard which Monolog also uses.
There are 8 logging levels available, defined by RFC 5424. The levels specified in
order from the most severe to the least severe:
| WordPress | 5.7+ requiredTested up to 5.7.15 |
| PHP | 7.4+ required |
Log::wp_error() and its corresponding Logger->log_wp_error methodPlugin data sourced from WordPress.org. Analysis and metrics by PluginSift.