[slf4j-user] Slf4j-test should be more convenient to use

Mike Mills mike at themills.id.au
Thu Aug 24 01:49:36 CEST 2017


Hi,

I have been using the Log4j-test library but I have found that it just is
not flexible enough in most real world use cases.

When you include this library in your test scope, gradle and maven will by
default create a classpath with your normal runtime slf4j implementation
and the log4j-test implementation on the classpath during tests.


Would it be possible to modify the LoggerFactory.bind code to identify the
test variant and use it in preference to any other implementations on the
classpath?

Thanks

-Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-user/attachments/20170824/4322d11d/attachment.html>


More information about the slf4j-user mailing list