Skip to content

Conversation

@lupppig
Copy link

@lupppig lupppig commented Jan 21, 2026

This PR adds a new 'WithLogger' middleware and a 'StructuredLogger' interface in the 'option' package.

It's compatible with 'slog.Logger' but flexible enough for other loggers.

Tests were added in 'option/middleware_test.go'.

@github-actions
Copy link

github-actions bot commented Jan 21, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@lupppig
Copy link
Author

lupppig commented Jan 23, 2026

I have read the CLA Document and I hereby sign the CLA

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.

1 participant