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:52:23 UTC

logging-log4j2 git commit: Deprecate the no-arg entry() method in favor of traceEntry().

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


Deprecate the no-arg entry() method in favor of traceEntry().

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

Branch: refs/heads/master
Commit: bf0155376624aced63b611532997c24f72576245
Parents: da48edd
Author: ggregory <gg...@apache.org>
Authored: Mon Feb 15 08:52:21 2016 -0800
Committer: ggregory <gg...@apache.org>
Committed: Mon Feb 15 08:52:21 2016 -0800

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


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/bf015537/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 77d68af..1392e8e 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
@@ -316,7 +316,9 @@ public interface Logger {
     /**
      * Logs entry to a method. Used when the method in question has no parameters or when the parameters should not be
      * logged.
+     * @deprecated Use {@link #traceEntry()} instead which performs the same function.
      */
+    @Deprecated
     void entry();
 
     /**