Skip to content

Move Logging Source Generator to MS.Extensions.Logging.Abstractions #52222

@eerhardt

Description

@eerhardt

Library authors today can use the LoggerMessage.Define APIs and log messages by only referencing Microsoft.Extensions.Logging.Abstractions.

However, in order to use the new Logging source generation feature, they now need to reference Microsoft.Extensions.Logging as well.

We should move the source generator and attribute to Microsoft.Extensions.Logging.Abstractions, so library authors don't need to change their references to use this new feature.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions