Skip to content

Implement v2 interface based on slog#13

Open
dmcgowan wants to merge 1 commit intocontainerd:mainfrom
dmcgowan:v2-interface
Open

Implement v2 interface based on slog#13
dmcgowan wants to merge 1 commit intocontainerd:mainfrom
dmcgowan:v2-interface

Conversation

@dmcgowan
Copy link
Copy Markdown
Member

@dmcgowan dmcgowan commented Apr 4, 2026

Add v2 interface as a new module alongside v1. The v2 inteface is designed for maximum compatibility purely using slog.

Since v1 and v2 will both be maintained, using the subdirectory approach for the v2 interface seems the cleanest. This code will very rarely change and may become irrelevant once directly using slog API becomes more common.

Closes #2

Add v2 interface as a new module alongside v1. The v2 inteface is
designed for maximum compatibility purely using slog.

Signed-off-by: Derek McGowan <derek@mcg.dev>
Copy link
Copy Markdown
Member

@dims dims left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

consider replacing logrus

2 participants