+ Logger is generally not Serializable and CDI 1.0 makes it not injectable in passivation capable scope (I resume it but that's the idea) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau
2014/1/12 John D. Ament <[email protected]>: > CODI is a set of CDI components, however it's more or less migrated > over to DeltaSpike. > > I responded to your question on stack overflow. I generally agree > with Romain's comment, injecting a logger makes very little sense, > since you're just wrapping it (the LOC to make a logger producer far > outweigh using a static final logger; using an instance level logger > has certain distinctive behavior). > > On Sun, Jan 12, 2014 at 11:59 AM, Caterpillar <[email protected]> wrote: >> Il 12/01/2014 17:44, Romain Manni-Bucau ha scritto: >>> Side note: producing a logger is a wrong idea (see codi list to learn >>> why) so maybe just get rid of it >>> Romain Manni-Bucau >>> Twitter: @rmannibucau >>> Blog: http://rmannibucau.wordpress.com/ >>> LinkedIn: http://fr.linkedin.com/in/rmannibucau >>> Github: https://github.com/rmannibucau >> What is codi list?
