[slf4j-user] Fail Silently on NOP implementation

Phillip Lord phillip.lord at russet.org.uk
Fri Apr 29 08:01:10 UTC 2016


Steven Schlansker <sschlansker at opentable.com> writes:

>> On Apr 28, 2016, at 3:58 PM, Robert Elliot <rob at lidalia.org.uk> wrote:
>
> Could you simply declare an "optional" dependency on your implementation of
> choice?
>
> This will be present when the JAR is invoked as an application, but will not
> participate in the transitive dependencies inherited when used as a library?


That would be possible -- although in Clojure I would just do this with
a "dev dependency". But, unfortunately, this means that any users of my
application as a library get forced to make the same decision. I do not
believe in solving a problem by making it someone elses problem.

Phil


More information about the slf4j-user mailing list