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 2013/03/26 19:44:47 UTC
svn commit: r1461264 -
/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/Level.java
Author: ggregory
Date: Tue Mar 26 18:44:47 2013
New Revision: 1461264
URL: http://svn.apache.org/r1461264
Log:
Formatting.
Modified:
logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/Level.java
Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/Level.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/Level.java?rev=1461264&r1=1461263&r2=1461264&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/Level.java (original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/Level.java Tue Mar 26 18:44:47 2013
@@ -36,34 +36,42 @@ import java.util.Locale;
* A special level, {@link #ALL}, is guaranteed to capture all levels when used in logging configurations.
*/
public enum Level {
+
/**
* No events will be logged.
*/
OFF(0),
+
/**
* A severe error that will prevent the application from continuing.
*/
FATAL(1),
+
/**
* An error in the application, possibly recoverable.
*/
ERROR(2),
+
/**
* An event that might possible lead to an error.
*/
WARN(3),
+
/**
* An event for informational purposes.
*/
INFO(4),
+
/**
* A general debugging event.
*/
DEBUG(5),
+
/**
* A fine-grained debug message, typically capturing the flow through the application.
*/
TRACE(6),
+
/**
* All events should be logged.
*/