On 18 February 2010 22:01, morisil <[email protected]> wrote: > Thanks to internal binding Guice injects java.util.logging.Logger > instances having the name of the target class. Is it possible to > configure something similar for log4j loggers? >
there's an example of this on the Guice wiki using custom injections: http://code.google.com/p/google-guice/wiki/CustomInjections but you need to use your own binding annotation, such as @InjectLogger in that example, because custom injections don't apply to @Inject annotated members. > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-guice%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-guice?hl=en. > -- Cheers, Stuart -- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
