Skip to content

feat: add slog adapter for Logger interface#120

Merged
halspang merged 1 commit into
mainfrom
modernize/slog-adapter
Mar 13, 2026
Merged

feat: add slog adapter for Logger interface#120
halspang merged 1 commit into
mainfrom
modernize/slog-adapter

Conversation

@halspang

Copy link
Copy Markdown
Member

Add NewSlogLogger(*slog.Logger) that wraps a *slog.Logger into the existing Logger interface. This allows consumers to integrate durabletask logging with their slog-based infrastructure without any breaking changes to the existing API.

Add NewSlogLogger(*slog.Logger) that wraps a *slog.Logger into the
existing Logger interface. This allows consumers to integrate
durabletask logging with their slog-based infrastructure without
any breaking changes to the existing API.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@halspang
halspang merged commit 15ee426 into main Mar 13, 2026
6 checks passed
@NickCraver
NickCraver deleted the modernize/slog-adapter branch June 8, 2026 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants