Skip to content

Bring parity to dotnet extensions logging generator behavior - #5370

Merged
dariusclay merged 24 commits into
mainfrom
5332-logging-generator-behavior-parity
Sep 3, 2024
Merged

dariusclay merged 24 commits into
mainfrom
5332-logging-generator-behavior-parity

Conversation

@dariusclay

@dariusclay dariusclay commented Aug 17, 2024 •

Copy link
Copy Markdown
Member

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

use Roslyn 4.4 libs again
Comment thread eng/Versions.props Resolved
Comment thread eng/Versions.props Resolved
Comment thread eng/Versions.props Resolved
Comment thread eng/packages/General.props Resolved
@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
Comment thread src/Generators/Directory.Build.targets Resolved

@RussKie RussKie left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Member 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.

@RussKie

RussKie commented Aug 29, 2024

Copy link
Copy Markdown
Contributor

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

@dariusclay

Copy link
Copy Markdown
Member 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
Copy Markdown
Contributor

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

RussKie commented Sep 2, 2024

Copy link
Copy Markdown
Contributor

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

@dariusclay
dariusclay merged commit 3131920 into main Sep 3, 2024
@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.

Projects

None yet

3 participants