[slf4j-dev] CDI Producer for slf4j Logger

Patrick Reinhart patrick at reini.net
Fri Oct 20 15:38:04 CEST 2017


I will prepare a proposal library within my slf4j project fork and send you a PR in the next couple days though..

Cheers Patrick 

> Am 20.10.2017 um 13:26 schrieb Ceki Gulcu <ceki at qos.ch>:
> 
> 
> I'd be happy to announce and link to the library when it becomes available. As for the package prefix, feel free to choose org.slf4j.cdi.
> 
> Cheers,
> 
> --
> Ceki
> 
>> On 20.10.2017 11:54, Patrick Reinhart wrote:
>> I would propose a new separate small library to contain such a producer, that can be deployed together with the API.
>> 
>> Would be a package prefix as org.slf4j.cdi be apropriate? I guess it could also be used for the CDI 2.0 for SE...
>> 
>> Best regards
>> 
>> Patrick
>> 
>>> Am 20.10.2017 um 10:56 schrieb Ceki Gulcu <ceki at qos.ch>:
>>> 
>>> 
>>> 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