Skip to content

Try out new .NET 6 logging generator #32087

@JamesNK

Description

@JamesNK

.NET 6 has a feature to generate logging classes from attributes. Could reduce the amount of boilerplate in our logging types while also validating log event IDs aren't duplicated.

See dotnet/runtime#36022

We should try replacing some small static Log types with the new feature.

  • HttpAbstractions
  • Kestrel
  • Middleware
  • HttpSys
  • Mvc
  • Components
  • SignalR

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionshelp wantedUp for grabs. We would accept a PR to help resolve this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions