-
Notifications
You must be signed in to change notification settings - Fork 466
Use SLF4J throughout plugin #1116
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
Labels
Comments
Happy to take a PR for this. |
@pdjohe did you want to pick this up? I've had a look at it and if you don't fancy it, I can pick it up 😄 |
@jamietanna : it's all yours! 😄 Happy coding! |
jamietanna
added a commit
to jamietanna/spotless
that referenced
this issue
Feb 6, 2022
As noted in diffplug#1116, it'd be ideal if we moved to SLF4J as our logging interface. We can do this pretty easily, making sure we remove our `package-list` reference, as well as making sure the SLF4J API is only used for compilation. We also need to map the error logging levels that most closely mirror what `java.util.logging` uses. Closes diffplug#1116.
jamietanna
added a commit
to jamietanna/spotless
that referenced
this issue
Feb 15, 2022
As noted in diffplug#1116, it'd be ideal if we moved to SLF4J as our logging interface. We can do this pretty easily, making sure we remove our `package-list` reference, as well as making sure the SLF4J API is only used for compilation. We also need to map the error logging levels that most closely mirror what `java.util.logging` uses. Closes diffplug#1116.
Published in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
java.util.Logger is used in many places, but maven builds on SLF4J. The output from the plugin is inconsistent (for example, pom sorting).
All places in the code could be updated to use SLF4J's Logger instead.
Gradle looks like that framework builds on SLF4J too: https://docs.gradle.org/current/javadoc/org/gradle/api/logging/Logger.html
The text was updated successfully, but these errors were encountered: