Home Plugins debug logger
Debug Logger logo

Debug Logger

by Andrew Woods on WordPress.org

Provide a PSR-3 compatible logger for WordPress core that writes to the debug.log

(0)

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
Active installations0+
Weekly downloads
6+0.00%
Version0.3.0
Last updated5/3/2021
WordPress version5.7
Tested up to5.7.12
PHP version7.4
Tags
debuglogginglogsmonologpsr-3