Add PSR3 support for logging, instead of syslog/error_log#57
Merged
leoromanovsky merged 2 commits intoEppo-exp:mainfrom Jan 26, 2026
Merged
Add PSR3 support for logging, instead of syslog/error_log#57leoromanovsky merged 2 commits intoEppo-exp:mainfrom
leoromanovsky merged 2 commits intoEppo-exp:mainfrom
Conversation
Contributor
Author
|
This is a first version, there is still 2 syslog call in Options are:
What do you think ? |
Member
|
@jaugustin Thanks for submitting this; I pushed some adjustments, including to your question. How does it look? Please tag me directly for a quickly response. |
leoromanovsky
approved these changes
Jan 24, 2026
Contributor
Author
|
@leoromanovsky changes looks good 👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎟️ Fixes issue 55
📜 Design Doc: link if applicable
Motivation and Context
Adds flexible, standardized SDK logging via PSR-3 so integrators can route logs (including exception context) to their preferred systems. This improves observability and debugging without relying on syslog/error_log.
Description
EppoClient::initandEppoClient::createTestClient.LoggerAwareTraitand propagate the logger from the client.syslog/error_logcalls with PSR-3 calls in SDK runtime paths.How has this been documented?
Updated README initialization options to include the new PSR-3 logger and a note on using Monolog SyslogHandler.
How has this been tested?
Unit test executed
Breaking Change?
Yes. This introduces a new dependency on
psr/logand modifies initialization signatures; treat as a major version bump.