Skip to content

Document logger message generator support for primary constructor parameters #41084

@kimsey0

Description

@kimsey0

Describe the issue or suggestion

When dotnet/runtime#101660 merges, we will need to update the relevant parts of the documentation:

  1. https://github.com/dotnet/docs/blob/main/docs/core/extensions/logger-message-generator.md needs to be updated to describe the new support and have examples with primary constructors.
  2. The new Primary constructor parameter of type Microsoft.Extensions.Logging.ILogger is hidden by a field diagnostic needs to be added to:
    | SYSLIB1027 | (Reserved for logging.) |

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions