]
George Gastaldi closed FORGE-1922.
----------------------------------
Fix Version/s: (was: 3.x Future)
Resolution: Won't Do
Should be implemented by a 3rd party addon
forge should inject Logger.
---------------------------
Key: FORGE-1922
URL:
https://issues.jboss.org/browse/FORGE-1922
Project: Forge
Issue Type: Feature Request
Reporter: Daniel Cunha (soro)
Priority: Optional
From:
{code:java}
private static Logger log = Logger.getLogger(AddonTestFacet.class.toString());
{code}
To:
{code:java}
@Inject
private Logger log
{code}
Produce:
{code:java}
@Produces
public Logger produceLogger(InjectionPoint injectionPoint) {
return
Logger.getLogger(injectionPoint.getMember().getDeclaringClass().getName());
}
{code}