Skip to content

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

Merged
kukushechkin merged 10 commits into
apple:mainfrom
kukushechkin:SLG-0006-task-local-logger-proposal
Jun 11, 2026
Merged

[SLG-0006]: task-local logger proposal#460
kukushechkin merged 10 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
@kukushechkin kukushechkin requested a review from AzeemJiva June 11, 2026 10:47
@kukushechkin kukushechkin enabled auto-merge (squash) June 11, 2026 10:53
@kukushechkin kukushechkin merged commit ca61184 into apple:main Jun 11, 2026
53 checks passed
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.

2 participants