Skip to content

Microsoft.Extensions.Logging.LoggerMessageAttribute remarks specify unnecessary constraint (LogLevel) #12864

Closed

Description

@dodexahedron

Type of issue

Other (describe below)

Description

The remarks for the mentioned attribute specify that the partial method MUST have a LogLevel parameter. This is not true, if it is provided in the attribute constructor already.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.logging.loggermessageattribute?view=net-10.0-pp

Content source URL

https://github.com/dotnet/dotnet-api-docs-temp/blob/live/xml/Microsoft.Extensions.Logging/LoggerMessageAttribute.xml

Document Version Independent Id

9770b029-6b28-e408-e3e2-33d23fa0a765

Platform Id

9a775e96-1da2-d1f5-62cc-55f14136030d

Article author

@dotnet-bot

Activity

  1. dotnet-policy-service commented on Jul 7, 2026

    @dotnet-policy-service
    Contributor

    This issue has been automatically closed due to an empty issue description from the original author. Feel free to reopen it if you have more information that can help us investigate the issue further.

  2. added
    untriaged
    on Jul 7, 2026
  3. dodexahedron commented on Jul 7, 2026

    @dodexahedron
    ContributorAuthor

    The template is broken and it is impossible to enter feedback in the initial issue BTW.
    Using Edge 150.0.4078.48.

  4. dotnet-policy-service commented on Jul 7, 2026

    @dotnet-policy-service
    Contributor

    This issue has been automatically closed due to an empty issue description from the original author. Feel free to reopen it if you have more information that can help us investigate the issue further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-more-infountriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions