[slf4j-dev] CDI Producer for slf4j Logger

Ceki Gulcu ceki at qos.ch
Fri Oct 20 13:26:20 CEST 2017


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
>>>
>>>


More information about the slf4j-dev mailing list