Provide a PSR-3 compatible logger for WordPress core that writes to the
debug.log
Author: | awoods (profile at wordpress.org) |
WordPress version required: | 5.7 |
WordPress version tested: | 5.7.2 |
Plugin version: | 0.3.0 |
Added to WordPress repository: | 30-04-2021 |
Last updated: | 03-05-2021
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://github.com/andrewwoods/wp-debug-logge... |
Total downloads: | 653 |
![]() Click to start download |
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.
Logging Levels
There are 8 logging levels available, defined by RFC 5424. The levels specified in
order from the most severe to the least severe:
- Emergency: system is unusable
- Alert: action must be taken immediately
- Critical: critical conditions
- Error: error conditions
- Warning: warning conditions
- Notice: normal but significant condition
- Info: informational messages
- Debug: debug-level messages
FAQ
ChangeLog