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

Add a func converting go-kit log to slog #7969

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SungJin1212
Copy link
Contributor

@SungJin1212 SungJin1212 commented Dec 9, 2024

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

This PR adds a function GoKitLogToSlog to convert go-kit/log to slog.
Fixes #7949

Verification

I added a test code to verify the converted slog level should conform to the initial go-kit/log.

@SungJin1212 SungJin1212 force-pushed the Add-GoKitLogToSlog branch 3 times, most recently from 791a241 to 281c11e Compare December 9, 2024 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace go-kit/log with log/slog
3 participants