Documentation
Documentation
Guides for installing and using the Monolog WP-CLI handler in your WP-CLI commands.
Start here
| Section | Description |
|---|---|
| First logger in WP-CLI | Tutorial: minimal logger in a command. |
| Use WPCLIHandler in a command | How-to: add the handler to existing code. |
| WPCLIHandler reference | Constructor, defaults, and level mapping. |
| Compatibility policy | PHP, Monolog, and WordPress support windows. |
| FAQs | Quiet/debug modes, context output, and background. |
Upgrading from the Monolog 2 release line? See UPGRADE.md in the repository.