In maven 3.0, you can use @Requirement to have logger injected like any
other component.

--
Regards,
Igor

On 10-10-21 06:23 AM, Tobi wrote:

Tobias Gierke wrote:

Is there a way to get a Logger injected directly into the component

The usual pattern is to have the component extend AbstractLogEnabled.
Since I already need to inherit from a different class , this won't work
... would implementing only the LogEnabled interface do the trick as well ?


- Tobias




Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to