The comments within issue
269<http://code.google.com/p/google-guice/issues/detail?id=269>and
issue
492 <http://code.google.com/p/google-guice/issues/detail?id=492> may be
useful.

sam

On Sun, Feb 27, 2011 at 2:14 AM, zixzigma <[email protected]> wrote:

> in the documentation on Guice built-in Logger, [1]
> the Logger is injected in the constructor.
> do you think this is a good idea ?
>
> almost all classes start with
> private static final Logger xx....
>
> and to use constructor injection is conceptually wrong ?
>
> - is it a better idea to use field injection for Logger instead of
> constructor injection ?
>
> - if I decide to use SLF4J + Logback, is using a java.util.logging (JUL)
> bridget/adapter
> the correct way of making Guice built-in JUL logger working with SLF4J ?
>
> Thank You
>
> [1] http://code.google.com/p/google-guice/wiki/BuiltInBindings
>
> --
> 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.
>

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

Reply via email to