Skip to content

Conversation

KimNorgaard
Copy link
Contributor

This fixes a bug where slog values wasn't printed. The bug happened because json.Marshal didn't know about the slog.Value type.

Fixes #715

This fixes a bug where slog values wasn't printed. The bug happened
because json.Marshal didn't know about the slog.Value type.
Copy link
Member

@MarvinJWendt MarvinJWendt left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for contributing 🚀

@MarvinJWendt MarvinJWendt merged commit 3be86ba into pterm:master Jun 6, 2025
2 checks passed
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.

Logger omits slog values when logging with json format
2 participants