-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
SLF4J 2: add a service provider #155
Conversation
@radio-rogal Thanks for PR. slf4j 2.0.2 was released Maybe we should put dependency to slf4j as optional/provided dependency in order to not preserver specific version of caller. |
Przepraszam, I haven't update a comment: 2.0.2 was released yesterday and my javadoc fix late a little :( I hope it will be fixed in 2.0.3. |
slf4j-simple has different packages in 1.7.* (org.slf4j.impl) and 2.0.* (org.slf4j.simple), see commits |
We can exclude |
It is not package problem, but transitive dependencies. |
Static binder must stay in Maybe I make new PR with one-commit changes, do I? |
SonarCloud Quality Gate failed. |
Thanks, I will try to test more deeper at the weekend. |
I tried this PR with project which has 1.7.x as dependency ... and
IHMO the best way to resolve such problems it can be introducing new branch and new artifacts like slf4j2-mock What do you think? |
or split project for multi modules
|
I will try with multi module |
@radio-rogal please look at #157 I hope after it we can simply add next module for slf4j 2.x |
This one is out of date |
New version of SLF4J uses service providers instead of static binders, see What has changed in SLF4J version 2.0.0?
This PR adds a service provider.
Important: 2.0.1 has outdated javadoc in SimpleLogger.handleNormalizedLoggingCall
I think we have to wait of v2.0.2. I have created the related issue SLF4J-564. So at least one another commit is needed.
Closes #152