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

Support arguments where possible for Logback and Slf4j #458

Merged
merged 6 commits into from
Nov 30, 2024

Conversation

sigmanil
Copy link
Contributor

@sigmanil sigmanil commented Nov 27, 2024

Proposal for #457

Added arguments array and passed it to underlying loggers where possible, not all loggers seem to support it. (Array instead of the initially proposed Set, because that is the datatype used by the underlying loggers.)

@sigmanil sigmanil marked this pull request as ready for review November 27, 2024 12:51
@oshai
Copy link
Owner

oshai commented Nov 28, 2024

Thanks for the PR! Generally LGTM. Is it possible to add a unit test for your use case?

@sigmanil
Copy link
Contributor Author

Something like this? d57c871

@sigmanil
Copy link
Contributor Author

Noticed that the previous commit failed on formatting (spotless checks). Fixed that now.

@oshai
Copy link
Owner

oshai commented Nov 30, 2024

Added some changes. I am still not 100% sure about this change as arguments are not used by all implementations. Anyway I added a comment that the api might change in the future.

@oshai oshai merged commit 2bc99d7 into oshai:master Nov 30, 2024
5 checks passed
@oshai
Copy link
Owner

oshai commented Nov 30, 2024

Thanks! will be released in 7.0.1.

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