Package de.espirit.common.base
Enum Class Logger.LogLevel
- All Implemented Interfaces:
Serializable
,Comparable<Logger.LogLevel>
,Constable
- Enclosing interface:
- Logger
A LogLevel is used to describe the severity of an event that is being logged.
- Since:
- 4.2.38
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFine-grained information that is needed to debug the application.Information about an error in the application that is possibly recoverable.Information about a severe error in the application that will prevent it from continuing.More coarse-grained general information.Fine-grained general information, most often used to record the application flow.Information about an event in the application that could possibly lead to an error. -
Method Summary
Modifier and TypeMethodDescriptionstatic Logger.LogLevel
Returns the enum constant of this class with the specified name.static Logger.LogLevel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRACE
Fine-grained general information, most often used to record the application flow.- Since:
- 4.2.38
-
DEBUG
Fine-grained information that is needed to debug the application.- Since:
- 4.2.38
-
INFO
More coarse-grained general information.- Since:
- 4.2.38
-
WARN
Information about an event in the application that could possibly lead to an error.- Since:
- 4.2.38
-
ERROR
Information about an error in the application that is possibly recoverable.- Since:
- 4.2.38
-
FATAL
Information about a severe error in the application that will prevent it from continuing.- Since:
- 4.2.38
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-