[slf4j-dev] CDI Producer for slf4j Logger

Patrick Reinhart patrick at reini.net
Fri Oct 20 10:13:41 CEST 2017


Hi there,

I wanted to ask, if you may think it would be a good idea to have an CDI Producer for slf4j Logger instances based on the target class? In our projects, we create each time such an instance fo do something like this:

public class MySpecialBean {
	@Inject
	Logger myLogger;
}

What do you think?

Best Regards

Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-dev/attachments/20171020/250e18ec/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: Message signed with OpenPGP
URL: <http://mailman.qos.ch/pipermail/slf4j-dev/attachments/20171020/250e18ec/attachment.sig>


More information about the slf4j-dev mailing list