fmgasparino / google-gin

Automatically exported from code.google.com/p/google-gin
Apache License 2.0
0 stars 0 forks source link

built in bindings #153

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
The built in binding for java.util.logging.Logger does not seem to work? (see : 
http://code.google.com/p/google-guice/wiki/BuiltInBindings)
Is that correct ?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by rvan...@casema.nl on 8 May 2011 at 1:49

GoogleCodeExporter commented 9 years ago
Gin does not support Guice's special logger binding. java.util Loggers are not 
as common in GWT code and we didn't spend the time to build such a special 
binding type, so you'll have to bind these logger manually.

Original comment by aragos on 8 May 2011 at 3:46

GoogleCodeExporter commented 9 years ago
How can you determine the name of the class in which the Logger is injected ?

Original comment by rvan...@casema.nl on 9 May 2011 at 7:40

GoogleCodeExporter commented 9 years ago
There's no easy way to do that. It should be easier to just create the logger 
manually in the class itself.

Original comment by aragos on 9 May 2011 at 2:45