Skip to content

Feat/log capturing#113

Merged
dtakken merged 2 commits into
masterfrom
feat/log-capturing
May 11, 2026
Merged

Feat/log capturing#113
dtakken merged 2 commits into
masterfrom
feat/log-capturing

Conversation

@dtakken
Copy link
Copy Markdown
Contributor

@dtakken dtakken commented May 4, 2026

This change allows projects to capture and process logging messages from this plugin.

Copilot AI review requested due to automatic review settings May 4, 2026 15:25
@dtakken dtakken requested a review from a team as a code owner May 4, 2026 15:25
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a WordPress action hook to let host projects intercept and process this plugin’s info-level log messages, and bumps the plugin version to reflect the new integration point.

Changes:

  • Added a new do_action() hook for intercepting info log messages.
  • Bumped plugin version from 2.0.0 to 2.1.0.
  • Added a v2.1.0 entry to the changelog.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/DigiD/Traits/Logger.php Emits a new WordPress action when logInfo() is called to allow external log capture.
plugin.php Updates plugin header metadata and GF_DIGID_VERSION constant to 2.1.0.
CHANGELOG.md Adds a v2.1.0 changelog entry describing the new log-capture hook.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -45,6 +45,8 @@ public function logException(Exception $exception, array $context = []): void

public function logInfo(string $message, array $context = []): void
{
Comment thread plugin.php
Comment on lines 9 to 12
* Author: Yard | Digital Agency
* Author URI: https://www.yard.nl
* Version: 2.0.0
* Version: 2.1.0
* License: GPL3.0
Comment thread CHANGELOG.md

## v2.1.0

- Feat: Add WP action to capture logs
@dtakken dtakken force-pushed the feat/log-capturing branch from 3e6e7fb to c05ec79 Compare May 7, 2026 10:37
@dtakken dtakken requested a review from mvdhoek1 May 7, 2026 11:54
@dtakken dtakken force-pushed the feat/log-capturing branch from c05ec79 to 0e38919 Compare May 11, 2026 12:15
@dtakken dtakken merged commit 8055090 into master May 11, 2026
3 checks passed
@dtakken dtakken deleted the feat/log-capturing branch May 11, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants