-
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
Use SLF4J for logging #218
Comments
Although small and most applications having it on their classpath already, I still find the need to limit the number of dependencies for this library of greater importance. All you need to log with SLF4J is the |
This might shift in the future when more projects are using the Java Platform Module System and start to exclude modules they are not interested in; for comparison the
Except, that sadly due to how Would you mind at least leaving this issue open? I suspect that libraries using this project will be eventually facing these issues. An alternative to SLF4J with Java 9 would be to use |
I don't mind at all, will leave it open. Maybe others will come with more pro's or cons. |
Is your feature request related to a problem? Please describe.
Currently this project uses
java.util.logging
, this has the following disadvantages:java.util.logging
is designed (implementation can only be set using System property, noServiceLoader
support)java.util.logging
is in the separate modulejava.logging
and applications might not want to include thatDescribe the solution you'd like
It would be good to use SLF4J for logging which has the following advantages:
Describe alternatives you've considered
It would also be possible to use Log4j 2 API (without Log4j 2 Core), though SLF4J might be more common, and Log4j 2 API is larger (294 KB for version 2.14.0).
The text was updated successfully, but these errors were encountered: