-
Notifications
You must be signed in to change notification settings - Fork 241
structured logging #351
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
structured logging #351
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 35 out of 37 changed files in this pull request and generated 1 comment.
Files not reviewed (2)
- go.mod: Language not supported
- internal/pion/logging/go.mod: Language not supported
Comments suppressed due to low confidence (1)
internal/usbgadget/utils.go:48
- Consider improving the log message text by explicitly including the file path (e.g. 'skipping writing to ' + filePath) for better clarity.
u.log.Trace().Str("path", filePath).Msg("skipping writing to as it already has the correct content")
5944e78 to
345c09f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 35 out of 37 changed files in this pull request and generated 1 comment.
Files not reviewed (2)
- go.mod: Language not supported
- internal/pion/logging/go.mod: Language not supported
Comments suppressed due to low confidence (1)
internal/usbgadget/utils.go:48
- [nitpick] Consider improving the log message wording by including the file name explicitly, e.g. 'skipping writing to file as it already has the correct content'.
u.log.Trace().Str("path", filePath).Msg("skipping writing to as it already has the correct content")
c770df3 to
396a747
Compare
3feb16d to
f38ce40
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 31 out of 32 changed files in this pull request and generated no comments.
Files not reviewed (1)
- go.mod: Language not supported
Comments suppressed due to low confidence (2)
internal/usbgadget/utils.go:48
- [nitpick] Consider rephrasing the log message to explicitly include the file path (e.g. 'skipping writing to as it already has the correct content') so that the message remains clear even without relying solely on its structured field.
u.log.Trace().Str("path", filePath).Msg("skipping writing to as it already has the correct content")
internal/usbgadget/utils.go:55
- [nitpick] Consider rephrasing this log message similarly to include the file path directly in the message text for improved clarity.
u.log.Trace().Str("path", filePath).Msg("skipping writing to as it already has the correct content")
No description provided.