added Plexus LoggerManager injection

This commit is contained in:
Hervé Boutemy 2012-12-03 19:10:23 +01:00
parent d32fb267b2
commit 5ccb925067
1 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,7 @@ Maven Logging
* Getting Logger Instance
Plexus Logger can be injected in Plexus component using Plexus annotations
Plexus Logger and LoggerManager can be injected in Plexus component using Plexus annotations
+------+
import org.codehaus.plexus.logging.Logger;
@ -35,6 +35,9 @@ public class DefaultMyComponent
{
@Requirement
private Logger logger;
@Requirement
private LoggerManager loggerManager;
}
+------+