Repository: logging-log4j2
Updated Branches:
refs/heads/master bcaa2a40a -> 241c702aa
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/master
Commit: 241c702aa41ce879556f6b890ccd9b7f0fff1b08
Parents: bcaa2a4
Author: Gary Gregory
Authored: Wed Jul 12 14:14:42 2017 -0700
Committer: Gary Gregory
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,
Serializable {
* Compares this level against the level passed as an argument and returns
true if this level is the same or is less
* specific.
*
- * 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.
*
*
- * @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) {