Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(kslog): implemented kgo.Logger plugin with slog #596

Merged
merged 2 commits into from
Oct 22, 2023

Conversation

sbuliarca
Copy link
Contributor

This is a kgo.Logger wrapping slog.
It will be really useful to us, as we're switching to it, so I though it might help others too.

slog is not experimental any more only from go 1.21, so whoever wants to use this plugin will need to use go version >= 1.21

Copy link
Owner

@twmb twmb left a comment

Choose a reason for hiding this comment

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

Looks easy enough, first time I've seen slog in actual use... thanks!

@twmb twmb merged commit 88b2a86 into twmb:master Oct 22, 2023
3 checks passed
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