Skip to content

feat: Logging Hook - #139

Open
NeaguGeorgiana23 wants to merge 6 commits into
mainfrom
logging_hook
Open

feat: Logging Hook#139
NeaguGeorgiana23 wants to merge 6 commits into
mainfrom
logging_hook

Conversation

@NeaguGeorgiana23

@NeaguGeorgiana23 NeaguGeorgiana23 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

This PR

  • Logging Hook Support:
    • Implements LoggingHook as mentioned in the OpenFeature specification.
    • Introduces LogLevel and LogCallback for pluggable loggers with standard stream defaults.
    • Supports all 4 hook stages (Before, After, Error, Finally) with optional evaluation context logging.
  • Exception Hierarchy:
    • Adds structured OpenFeatureException hierarchy with associated ErrorCode values.
  • Serialization:
    • Adds string conversions (ToString()) and streaming operators for EvaluationContext, Reason, ErrorCode, and Value.

Related Issues

Fixes #138

Signed-off-by: NeaguGeorgiana23 <neagugeorgiana@google.com>
Signed-off-by: NeaguGeorgiana23 <neagugeorgiana@google.com>
Signed-off-by: NeaguGeorgiana23 <neagugeorgiana@google.com>
Signed-off-by: NeaguGeorgiana23 <neagugeorgiana@google.com>
Signed-off-by: NeaguGeorgiana23 <neagugeorgiana@google.com>
@NeaguGeorgiana23
NeaguGeorgiana23 requested review from a team as code owners September 1, 2026 21:13
@coderabbitai

coderabbitai Bot commented Sep 1, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: c7adb409-353a-4764-bde1-b40a5385d2e4


Comment @coderabbitai help to get the list of available commands.

Signed-off-by: NeaguGeorgiana23 <neagugeorgiana@google.com>
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.

Implement Logging Hook

1 participant