Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

WPGraphQL Logging

A logging plugin that provides visibility into request lifecycle to help quickly identify and resolve bottlenecks in your headless WordPress application.


Version License GitHub forks GitHub stars Testing Integration Code Coverage Code Quality

Overview

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.

Key Features

  • 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.


Requirements

  • WordPress 6.5+
  • WPGraphQL 2.3+
  • PHP 8.1.2+

Installation

Option 1: Plugin Zip

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

Option 2: Composer

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.


Documentation

For detailed usage instructions, developer references, and examples, please visit the Documentation folder included with this plugin.

License

WP GPL 2