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

enhancement: Refactor NewLogger with options builder pattern #1413

Merged
merged 5 commits into from
Mar 4, 2024

Conversation

lekaf974
Copy link
Contributor

@lekaf974 lekaf974 commented Mar 3, 2024

Description

Fix #1355

References

Commented in #1330

@lekaf974 lekaf974 requested a review from a team as a code owner March 3, 2024 23:51
Copy link

codecov bot commented Mar 4, 2024

Codecov Report

Attention: Patch coverage is 84.61538% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 85.42%. Comparing base (aef0911) to head (481758f).
Report is 49 commits behind head on main.

Files Patch % Lines
pkg/logger/logger.go 84.62% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1413      +/-   ##
==========================================
+ Coverage   83.83%   85.42%   +1.59%     
==========================================
  Files          85       85              
  Lines        9850     8016    -1834     
==========================================
- Hits         8257     6847    -1410     
+ Misses       1239      821     -418     
+ Partials      354      348       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

pkg/logger/logger.go Outdated Show resolved Hide resolved
pkg/logger/logger.go Outdated Show resolved Hide resolved
pkg/logger/logger.go Outdated Show resolved Hide resolved
pkg/logger/logger.go Outdated Show resolved Hide resolved
Signed-off-by: mevrin <matthieu.evrin@gmail.com>
Fix typo
Re-add remove white space

Signed-off-by: mevrin <matthieu.evrin@gmail.com>
Signed-off-by: mevrin <matthieu.evrin@gmail.com>
@lekaf974 lekaf974 force-pushed the use-options-builder-new-logger branch from ed58e2b to 04010c2 Compare March 4, 2024 21:28
@adriantam adriantam merged commit d0513c4 into openfga:main Mar 4, 2024
9 checks passed
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.

Refactor logger.NewLogger with options builder pattern
2 participants