Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implemented structured logging #54

Merged
merged 3 commits into from
Sep 2, 2022

Conversation

skyerus
Copy link
Contributor

@skyerus skyerus commented Aug 31, 2022

No description provided.

@skyerus skyerus linked an issue Aug 31, 2022 that may be closed by this pull request
@codecov-commenter
Copy link

codecov-commenter commented Aug 31, 2022

Codecov Report

Merging #54 (b616cec) into main (b8383e1) will decrease coverage by 1.74%.
The diff coverage is 86.36%.

@@            Coverage Diff             @@
##             main      #54      +/-   ##
==========================================
- Coverage   92.60%   90.85%   -1.75%     
==========================================
  Files           5        6       +1     
  Lines         284      361      +77     
==========================================
+ Hits          263      328      +65     
- Misses         20       32      +12     
  Partials        1        1              
Impacted Files Coverage Δ
pkg/openfeature/openfeature.go 76.08% <36.36%> (-12.49%) ⬇️
pkg/openfeature/logger.go 66.66% <66.66%> (ø)
pkg/openfeature/client.go 96.74% <95.77%> (-0.57%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@james-milligan james-milligan left a comment

Choose a reason for hiding this comment

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

Looks good, nice work

README.md Outdated Show resolved Hide resolved
@toddbaert toddbaert self-requested a review September 1, 2022 20:52
Copy link
Member

@toddbaert toddbaert left a comment

Choose a reason for hiding this comment

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

LGTM, minor suggestions.

One thing I'm wondering is how to log in hooks. It's not immediately obvious to me if that's possible.

Co-authored-by: Todd Baert <[email protected]>
Signed-off-by: Skye Gill <[email protected]>
@skyerus
Copy link
Contributor Author

skyerus commented Sep 2, 2022

LGTM, minor suggestions.

One thing I'm wondering is how to log in hooks. It's not immediately obvious to me if that's possible.

That would be something for the application author to decide, there's nothing stopping them from placing a logger inside their hook struct and using it in the callbacks.

@skyerus skyerus merged commit 04649c5 into open-feature:main Sep 2, 2022
@skyerus skyerus deleted the issue-46_logging branch September 2, 2022 09:13
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.

[FEATURE] Support logging
4 participants