SparkPost / java-sparkpost

SparkPost client library for Java
https://www.sparkpost.com/
Other
39 stars 35 forks source link

Switch to using SLF4J #86

Open mbaumbach opened 6 years ago

mbaumbach commented 6 years ago

Instead of directly depending on log4j, using the SLF4J logging facade will allow dependent applications of the Sparkpost library to pick/configure a logging library of their choice or at least not conflict with different versions of log4j.

The use case for me was that I'm using the logback logging library in my application, but the sparkpost library required me to configure both log4j and logback to have the same kind of logging formats, levels, and appenders.

I'll be submitting a PR in a few that contains the changes necessary for this.

mbaumbach commented 6 years ago

The PR is #87. I created this separate issue in case this still wants to be addressed, but the PR wants to be abandoned. 😄

pedro-carneiro commented 5 years ago

It would be nice to have this. Any updates?