You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2015/08/10 05:08:14 UTC

logging-log4j2 git commit: Remove Logger2 from Javadoc.

Repository: logging-log4j2
Updated Branches:
  refs/heads/master a3e40e187 -> 78acf2425


Remove Logger2 from Javadoc.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/78acf242
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/78acf242
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/78acf242

Branch: refs/heads/master
Commit: 78acf24258aed0f18ea69ace428c15b70ab85b5f
Parents: a3e40e1
Author: ggregory <gg...@apache.org>
Authored: Sun Aug 9 20:08:12 2015 -0700
Committer: ggregory <gg...@apache.org>
Committed: Sun Aug 9 20:08:12 2015 -0700

----------------------------------------------------------------------
 log4j-api/src/main/java/org/apache/logging/log4j/Logger.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/78acf242/log4j-api/src/main/java/org/apache/logging/log4j/Logger.java
----------------------------------------------------------------------
diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/Logger.java b/log4j-api/src/main/java/org/apache/logging/log4j/Logger.java
index b629ad3..82df50b 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/Logger.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/Logger.java
@@ -59,12 +59,12 @@ import org.apache.logging.log4j.util.Supplier;
  * }
  * </pre>
  * <p>
- * With Java 8 and the {@code Logger2} interface, one can achieve the same effect by using a lambda expression:
+ * With Java 8 and the {@code Logger} interface, one can achieve the same effect by using a lambda expression:
  * 
  * <pre>
  * // Java-8 style optimization: no need to explicitly check the log level:
  * // the lambda expression is not evaluated if the TRACE level is not enabled
- * Logger2 logger = LogManager.getLogger2();
+ * Logger logger = LogManager.getLogger();
  * logger.trace(&quot;Some long-running operation returned {}&quot;, () -&gt; expensiveOperation());
  * </pre>
  */