[slf4j-dev] CDI Producer for slf4j Logger

Ceki Gulcu ceki at qos.ch
Fri Oct 20 10:56:02 CEST 2017


Sounds like a good idea.

On 20.10.2017 10:13, Patrick Reinhart wrote:
> 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
>
>
> _______________________________________________
> slf4j-dev mailing list
> slf4j-dev at qos.ch
> http://mailman.qos.ch/mailman/listinfo/slf4j-dev
>


More information about the slf4j-dev mailing list