Skip to content

Add the ctxlog package - #4

Merged
a-menshchikov merged 1 commit into
mainfrom
feat/slogger-ctxlog
Nov 6, 2026
Merged

a-menshchikov merged 1 commit into
mainfrom
feat/slogger-ctxlog

Conversation

@a-menshchikov

Copy link
Copy Markdown
Member

The package passes the logger through the context: it is put into the context once, and the package-level helpers take it from there, adding the attributes bound to the scope.

slogger.NewToContext initializes the logger and puts it into the returned context.

The package passes the logger through the context: it is put into the
context once, and the package-level helpers take it from there, adding
the attributes bound to the scope.

slogger.NewToContext initializes the logger and puts it into the returned
context.
@a-menshchikov
a-menshchikov merged commit acdef1d into main Nov 6, 2026
19 checks passed
@a-menshchikov
a-menshchikov deleted the feat/slogger-ctxlog branch November 6, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant