justinludwig / jpgpj

Java Pretty Good Privacy Jig
MIT License
75 stars 20 forks source link

Library need slf4j #17

Open ghost opened 6 years ago

ghost commented 6 years ago

I just updated my version to the latest and it suddenly needs org.slf4j.* , which is not included in the library anymore. From what I understand, this is what you use to create logs to replace System.out.

This worked fine on your earlier version, and it seems I need to get it from somewhere, maybe you can point me to the right direction or update your repository as you may have removed it and not placed it back.

lgoldstein commented 4 years ago

Add dependency on org.slf4j:slf4j-api:1.7.30 to your Gradle/Maven build. Note: this only provides the missing API(s) - in order to actually see the logs you will need one of the many (many) available implementations. If all you need is to write to STDOUT simply add org.slf4j:slf4j-simple:1.7.30 (same version as the API) dependency (read about how to configure the default threshold log level for it and/or re-direct it to STDERR instead of STDOUT or vice versa)