« Return to Thread: Replace commons-logging with slf4j?

Replace commons-logging with slf4j?

by Raffael Herzog-2 :: Rate this Message:

Reply to Author | View in Thread

Hi,

As we all know, commons-logging is discontinued and slf4j should be
preferred. Adding support for slf4j (still keeping backwards compatibility
with classes that use commons-logging) is an easy task: Just make
BuilderLogFacet handle slf4j Loggers as well. Maybe, it would be desirable
to use Reflection for commons-logging in order to avoid being forced to add
jcl-over-slf4j to the classpath if it's not needed.

Cheers,
   Raffi

--
The difference between theory and practice is that in theory, there is
no difference, but in practice, there is.

herzog@... · Jabber: herzog@...
PGP Key 0x5FFDB5DB5D1FF5F4 · http://keyserver.pgp.com

 « Return to Thread: Replace commons-logging with slf4j?

LightInTheBox - Buy quality products at wholesale price!