Hi,
I've implemented an SLF4 custom injection using the example provided 
here: https://github.com/google/guice/wiki/CustomInjections. This works 
fine.
However, when injecting a singleton, I can't seem to find a way of 
initializing the singleton instance (at the time of injection) when the 
custom injection is available.
Previously (before using the SLF4 custom injection) initialization in the 
constructor sufficed. Now however, initialization in the constructor is 
impossible (obviously) and is seems like injecting the singleton instance 
into itself injects an instance without the logger (MembersInjectorImpl 
handles memberInjectors before userMemberInjectors).
Am I doing anything not allowed? Should I go back to non-injected loggers?
Any comments much appreciated.
Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-guice.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/c325158e-fde1-421d-b6d0-e18b820484fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to