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

Consistently use logutils.TypeAttr #49948

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Consistently use logutils.TypeAttr #49948

merged 1 commit into from
Dec 9, 2024

Conversation

rosstimothy
Copy link
Contributor

When converting to slog there have been various mechanisms used to include an objects type in a slog attribute to replace %T from a logrus message. This unifies all type attribute to use logutils.typeAttr instead of calling reflect/fmt directly. The former ensures that the type is only calculated if the message is going to be logged.

When converting to slog there have been various mechanisms used
to include an objects type in a slog attribute to replace %T from
a logrus message. This unifies all type attribute to use
logutils.typeAttr instead of calling reflect/fmt directly. The former
ensures that the type is only calculated if the message is going
to be logged.
@rosstimothy rosstimothy added the no-changelog Indicates that a PR does not require a changelog entry label Dec 9, 2024
@rosstimothy rosstimothy marked this pull request as ready for review December 9, 2024 19:15
@rosstimothy rosstimothy enabled auto-merge December 9, 2024 20:09
@rosstimothy rosstimothy added this pull request to the merge queue Dec 9, 2024
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from probakowski December 9, 2024 21:11
Merged via the queue into master with commit 622e578 Dec 9, 2024
46 of 47 checks passed
@rosstimothy rosstimothy deleted the tross/use_typeattr branch December 9, 2024 21:31
@public-teleport-github-review-bot

@rosstimothy See the table below for backport results.

Branch Result
branch/v17 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/branch/v17 desktop-access no-changelog Indicates that a PR does not require a changelog entry rdp size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants