Skip to content

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-more-infountriagedNew issue has not been triaged by the area owner

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions