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 2016/02/15 17:54:15 UTC

logging-log4j2 git commit: Javadoc entry(Object...) to mention traceEntry(...) methods.

Repository: logging-log4j2
Updated Branches:
  refs/heads/master bf0155376 -> 58f2e7af7


Javadoc entry(Object...) to mention traceEntry(...) methods.

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

Branch: refs/heads/master
Commit: 58f2e7af76871207d7fe360b5a9591ac47322015
Parents: bf01553
Author: ggregory <gg...@apache.org>
Authored: Mon Feb 15 08:54:14 2016 -0800
Committer: ggregory <gg...@apache.org>
Committed: Mon Feb 15 08:54:14 2016 -0800

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


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/58f2e7af/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 1392e8e..c46c6a9 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
@@ -322,8 +322,10 @@ public interface Logger {
     void entry();
 
     /**
-     * Logs entry to a method along with its parameters. For example,
-     *
+     * Logs entry to a method along with its parameters (consider using one of the {@code traceEntry(...)} methods instead.) 
+     * <p>
+     * For example:
+     * </p>
      * <pre>
      * public void doSomething(String foo, int bar) {
      *     LOGGER.entry(foo, bar);