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 2017/07/17 05:57:30 UTC
[35/51] [abbrv] logging-log4j2 git commit: Javadoc: Be as specific as
possible in describing the levels.
Javadoc: Be as specific as possible in describing the levels.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/241c702a
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/241c702a
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/241c702a
Branch: refs/heads/Lucene5
Commit: 241c702aa41ce879556f6b890ccd9b7f0fff1b08
Parents: bcaa2a4
Author: Gary Gregory <gg...@apache.org>
Authored: Wed Jul 12 14:14:42 2017 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Wed Jul 12 14:14:42 2017 -0700
----------------------------------------------------------------------
.../src/main/java/org/apache/logging/log4j/Level.java | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/241c702a/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
----------------------------------------------------------------------
diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/Level.java b/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
index 4375118..05d0655 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
@@ -159,12 +159,14 @@ public final class Level implements Comparable<Level>, Serializable {
* Compares this level against the level passed as an argument and returns true if this level is the same or is less
* specific.
* <p>
- * Concretely, {@link #TRACE} is less specific than {@link #DEBUG}, which is less specific than {@link #INFO},
- * etc., until {@link #FATAL}, and finally {@link #OFF}, which is the most specific standard level.
- * The least specific level is {@link #ALL}.
+ * Concretely, {@link #ALL} is less specific than {@link #TRACE}, which is less specific than {@link #DEBUG}, which
+ * is less specific than {@link #INFO}, which is less specific than {@link #WARN}, which is less specific than
+ * {@link #ERROR}, which is less specific than {@link #FATAL}, and finally {@link #OFF}, which is the most specific
+ * standard level.
* </p>
*
- * @param level The level to test.
+ * @param level
+ * The level to test.
* @return True if this level Level is less specific or the same as the given Level.
*/
public boolean isLessSpecificThan(final Level level) {