Thanks to visit codestin.com
Credit goes to github.com

Skip to content

docs: fix doc comments for clog.Logger#36

Merged
luhring merged 1 commit into
chainguard-dev:mainfrom
luhring:fix-doc-comments
Apr 23, 2025
Merged

docs: fix doc comments for clog.Logger#36
luhring merged 1 commit into
chainguard-dev:mainfrom
luhring:fix-doc-comments

Conversation

@luhring
Copy link
Copy Markdown
Contributor

@luhring luhring commented Apr 20, 2025

This updates doc comments and parameter names for the Logger type to be friendlier to docs-aware editors, specifically by:

  • Fixing when method name in doc comment didn't match the method name
  • Using "msg" instead of "format" to align with the stdlib for when log messages aren't formats
  • Updating to explain how the variadic args params are used

This updates doc comments and parameter names for the Logger type to be friendlier to docs-aware editors, specifically by:

- Fixing when method name in doc comment did not match the method name
- Using "msg" instead of "format" to align with the stdlib for when log messages are not formats
- Updating to explain how the variadic args params are used

Signed-off-by: Dan Luhring <[email protected]>
@luhring luhring requested a review from imjasonh April 21, 2025 18:09
@luhring luhring merged commit b5e6d19 into chainguard-dev:main Apr 23, 2025
3 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.

3 participants