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

Bring parity to dotnet extensions logging generator behavior #5370

Merged
merged 24 commits into from
Sep 3, 2024

Conversation

dariusclay
Copy link
Contributor

@dariusclay dariusclay commented Aug 17, 2024

Fixes #5221
Fixes #5332
Fixes #5336
Resolves #5178

  • Update message template extraction
  • Align behavior regarding @ symbol in message templates
  • Fix issues looking up ILogger in derived classes
  • Adds support for passing ILogger in primary class constructors
Microsoft Reviewers: Open in CodeFlow

Sorry, something went wrong.

…traction behavior
…th base logging generator

Verified

This commit was signed with the committer’s verified signature. The key has expired.
unstubbable Hendrik Liebau
use Roslyn 4.4 libs again
@RussKie RussKie added the waiting-author-feedback 📭 The author of this issue needs to respond in order for us to continue investigating this issue. label Aug 18, 2024
@dotnet-policy-service dotnet-policy-service bot removed the waiting-author-feedback 📭 The author of this issue needs to respond in order for us to continue investigating this issue. label Aug 19, 2024
@RussKie RussKie added the waiting-author-feedback 📭 The author of this issue needs to respond in order for us to continue investigating this issue. label Aug 20, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
unstubbable Hendrik Liebau

Verified

This commit was signed with the committer’s verified signature. The key has expired.
unstubbable Hendrik Liebau

Verified

This commit was signed with the committer’s verified signature. The key has expired.
unstubbable Hendrik Liebau
Copy link
Member

@RussKie RussKie left a comment

Choose a reason for hiding this comment

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

Few more minor comments in addition to few outstanding comments (not sure if you addressed those and forgot to push... ¯\_(ツ)_/¯).

@RussKie RussKie added the waiting-author-feedback 📭 The author of this issue needs to respond in order for us to continue investigating this issue. label Aug 28, 2024
@dotnet-policy-service dotnet-policy-service bot removed the waiting-author-feedback 📭 The author of this issue needs to respond in order for us to continue investigating this issue. label Aug 28, 2024
@dariusclay
Copy link
Contributor Author

Few more minor comments in addition to few outstanding comments (not sure if you addressed those and forgot to push... ¯_(ツ)_/¯).

The final comments are being addressed while bringing the code coverage back up to meet the threshold.

Verified

This commit was signed with the committer’s verified signature. The key has expired.
unstubbable Hendrik Liebau
@RussKie
Copy link
Member

RussKie commented Aug 29, 2024

I'm going to review either tomorrow or early next week.

@dariusclay
Copy link
Contributor Author

I'm going to review either tomorrow or early next week.

Thanks for everything @RussKie

/// </summary>
/// <remarks> The search skips any sequences of {{ or }}.</remarks>
/// <example>{{prefix{{{Argument}}}suffix}}.</example>
/// <returns>The zero-based index position of the first occurrence of the searched brace; -1 if the searched brace was not found; -2 if the wrong brace was found.</returns>
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
/// <returns>The zero-based index position of the first occurrence of the searched brace; -1 if the searched brace was not found; -2 if the wrong brace was found.</returns>
/// <returns>The zero-based index position of the first occurrence of the searched brace; <see cref="NoBracesFound"/> if the searched brace was not found; <see cref="WrongBraceFound"/> if the wrong brace was found.</returns>

@RussKie
Copy link
Member

RussKie commented Sep 2, 2024

@dariusclay feel free to squash-merge when you're ready.

@dariusclay dariusclay merged commit 3131920 into main Sep 3, 2024
6 checks passed
@dariusclay dariusclay deleted the 5332-logging-generator-behavior-parity branch September 3, 2024 08:40
@github-actions github-actions bot locked and limited conversation to collaborators Oct 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.