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

Compatibility with SLF4J 2.0 #34

Open
mthmulders opened this issue Aug 7, 2023 · 2 comments
Open

Compatibility with SLF4J 2.0 #34

mthmulders opened this issue Aug 7, 2023 · 2 comments

Comments

@mthmulders
Copy link

First of all, thank you for maintaining this very useful utility!

Unfortunately, starting with SLF4J 2.0, it doesn't work anymore. SLF4J 2.0 changed the way it discovers implementations. Quoting from their documentation:

Instead of "bindings" now org.slf4j.LoggerFactory searches for "providers".

Although I'm not an expert on SLF4J, I managed to implement such a provider. If you're open to such a contribution, I can create a PR for it.

@valfirst
Copy link

valfirst commented Aug 8, 2023

@mthmulders here is a fork with SLF4J 2.0 support: https://github.com/valfirst/slf4j-test

@Hakky54
Copy link

Hakky54 commented Nov 14, 2024

This is also an alternative for slf4j-test which works with slf4j 2.0 https://github.com/Hakky54/log-captor

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

No branches or pull requests

3 participants