From 5ccb925067825fe64519cd6d0464838ef5f11885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Boutemy?= Date: Mon, 3 Dec 2012 19:10:23 +0100 Subject: [PATCH] added Plexus LoggerManager injection --- maven-embedder/src/site/apt/logging.apt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/maven-embedder/src/site/apt/logging.apt b/maven-embedder/src/site/apt/logging.apt index cb860d0748..fc3834efc4 100644 --- a/maven-embedder/src/site/apt/logging.apt +++ b/maven-embedder/src/site/apt/logging.apt @@ -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; } +------+