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

Improve GetLogger(ctx).{Info,Warn,Error} with nil host #1821

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

iwahbe
Copy link
Member

@iwahbe iwahbe commented Apr 1, 2024

Instead of calling glog.V(9).Infof("[%s]: %q", sev, msg), we just call glog's structured logging methods directly.

Instead of calling `glog.V(9).Infof("[%s]: %q", sev, msg)`, we just call `glog`'s
structured logging methods directly.
Copy link

codecov bot commented Apr 1, 2024

Codecov Report

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

Project coverage is 60.20%. Comparing base (b9afd77) to head (a5296c6).

Files Patch % Lines
unstable/logging/logging.go 42.85% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1821      +/-   ##
==========================================
- Coverage   60.73%   60.20%   -0.54%     
==========================================
  Files         303      310       +7     
  Lines       42393    42769     +376     
==========================================
- Hits        25749    25748       -1     
- Misses      15171    15549     +378     
+ Partials     1473     1472       -1     

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

@iwahbe iwahbe merged commit 4a13c5f into master Apr 1, 2024
9 checks passed
@iwahbe iwahbe deleted the iwahbe/improve-logging branch April 1, 2024 18:21
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.

None yet

2 participants