Skip to content

Conversation

aofei
Copy link
Member

@aofei aofei commented Feb 17, 2025

No description provided.

…g.Logger`

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
@aofei aofei requested a review from Copilot February 17, 2025 00:17
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

goproxy_test.go:1325

  • The slogDiscardHandler always returns false in the Enabled method, meaning no logs will be recorded. Ensure this is clearly documented or reconsider its implementation.
// slogDiscardHandler implements [slog.Handler] by discarding all logs.

Copy link

codecov bot commented Feb 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.59%. Comparing base (7973135) to head (918f2ab).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #106      +/-   ##
==========================================
- Coverage   81.61%   81.59%   -0.03%     
==========================================
  Files          11       11              
  Lines        1360     1358       -2     
==========================================
- Hits         1110     1108       -2     
  Misses        243      243              
  Partials        7        7              

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

@aofei aofei merged commit ab925cf into goproxy:master Feb 17, 2025
8 checks passed
@aofei aofei deleted the logger branch February 17, 2025 00:24
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.

1 participant