Skip to content

Create implicit logging scopes from Activity.Tags #35209

@shirhatti

Description

@shirhatti

Builds upon the work in #34305

This is a proposal to implicitly flow Activity.Tags to ILogger scopes by creating implicit logging scopes from Activity.Tags. Based on our offline discussion, we'll need to add an option to turn this on/off.

There is currently no consensus on whether this should be on by default.

In we decided not to do this, we'll at least need to provide guidance on the idiomatic way to do this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Extensions-LoggingdocumentationDocumentation bug or enhancement, does not impact product or test codeenhancementProduct code improvement that does NOT require public API changes/additions

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions