
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@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@qos.ch http://mailman.qos.ch/mailman/listinfo/slf4j-dev
_______________________________________________ slf4j-dev mailing list slf4j-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/slf4j-dev