You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ah...@apache.org on 2012/12/01 15:50:03 UTC
[20/50] git commit: fixed typos
fixed typos
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1413425 13f79535-47bb-0310-9956-ffa450edef68
Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/1f5069ed
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/1f5069ed
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/1f5069ed
Branch: refs/heads/feature/colorized-console/log4j2
Commit: 1f5069edf4e026801d5bad8d661bd951d47467eb
Parents: 46d0448
Author: Herve Boutemy <hb...@apache.org>
Authored: Sun Nov 25 21:23:34 2012 +0000
Committer: Arnaud HeĢritier <ah...@exoplatform.com>
Committed: Sat Dec 1 13:51:04 2012 +0100
----------------------------------------------------------------------
maven-embedder/src/site/apt/logging.apt | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/maven/blob/1f5069ed/maven-embedder/src/site/apt/logging.apt
----------------------------------------------------------------------
diff --git a/maven-embedder/src/site/apt/logging.apt b/maven-embedder/src/site/apt/logging.apt
index cca01bf..cb860d0 100644
--- a/maven-embedder/src/site/apt/logging.apt
+++ b/maven-embedder/src/site/apt/logging.apt
@@ -24,7 +24,7 @@ Maven Logging
Plexus Logger can be injected in Plexus component using Plexus annotations
-+------
++------+
import org.codehaus.plexus.logging.Logger;
import org.codehaus.plexus.component.annotations.Component;
import org.codehaus.plexus.component.annotations.Requirement;
@@ -36,20 +36,20 @@ public class DefaultMyComponent
@Requirement
private Logger logger;
}
-+------
++------+
Starting with Maven 3.1.0, SLF4J Logger can be used directly too, without Plexus. Of course, this will only work when run under
Maven 3.1.0, then this technique can be used safely only in Maven core components.
-+-----
++-----+
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-public class Wombat
+public class MyClass
{
- final Logger logger = LoggerFactory.getLogger(Wombat.class);
+ final Logger logger = LoggerFactory.getLogger( MyClass.class );
}
-+-----
++-----+
* Logger Name