Skip to content

[SLG-0006]: task-local logger proposal#460

Open
kukushechkin wants to merge 2 commits into
apple:mainfrom
kukushechkin:SLG-0006-task-local-logger-proposal
Open

[SLG-0006]: task-local logger proposal#460
kukushechkin wants to merge 2 commits into
apple:mainfrom
kukushechkin:SLG-0006-task-local-logger-proposal

Conversation

@kukushechkin
Copy link
Copy Markdown
Contributor

This proposal adds task-local logger storage so that metadata can accumulate across async
call stacks without threading a Logger through every function signature.

Motivation:

Metadata propagation requires threading a logger through every layer. Every function on
the path from request ingress to the bottom of the call stack has to accept, mutate, and
forward a Logger. Libraries must choose between polluting their public API with a logger: parameter and
losing all the caller's context. There is no third option today.

Modifications:

SLG-0006 proposal is added.

Result:

Proposal is ready for review.

@kukushechkin kukushechkin requested review from FranzBusch and weissi May 18, 2026 12:01
@kukushechkin kukushechkin added the semver/none No version bump required. label May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant