A logging plugin that provides visibility into request lifecycle to help quickly identify and resolve bottlenecks in your headless WordPress application.
WPGraphQL Logging plugin provides observability and visibility into the GraphQL request and event lifecycle. This capability gives users the understandability needed to quickly identify and resolve performance issues and bottlenecks within their headless WordPress application.
- Granular Control: Choose which events in the request lifecycle to log, giving you precise control over the data you capture.
- Developer-Friendly Extensibility: Built with developers in mind, it features a pub/sub system that allows you to hook into the logging pipeline, transform event data, and trigger custom actions.
- Flexible Log Handling: Leverages the powerful Monolog logging library, enabling developers to add custom processors and handlers to route logs to various destinations like Slack, files, or external services.
Important
For detailed developer guides and examples, see our How-To Guides.
- WordPress 6.5+
- WPGraphQL 2.3+
- PHP 8.1.2+
You can get the latest release here - https://github.com/wpengine/hwptoolkit/releases/latest/download/wpgraphql-logging.zip
You can also download it from our release page - https://github.com/wpengine/hwptoolkit/releases
To install, you need to follow our guide here to install the plugin via composer - https://github.com/wpengine/hwptoolkit/blob/main/docs/how-to/install-toolkit-plugins/index.md
Once you have the composer repository setup, please run composer req wpengine/wpgraphql-logging:* to install the plugin.
Once installed and configured, the plugin should begin to log uncached WPGraphQL logs into the database.
For detailed usage instructions, developer references, and examples, please visit the Documentation folder included with this plugin.
WP GPL 2