Package org.cdlib.mrt.utility
Enum LoggerInf.LogLevel
- All Implemented Interfaces:
Serializable
,Comparable<LoggerInf.LogLevel>
- Enclosing interface:
- LoggerInf
Enumeration of logging levels and corresponding verbosity level
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionint
getLevel()
static LoggerInf.LogLevel
valueOf
(int n) Returns the enum constant of this type with the specified name.static LoggerInf.LogLevel
Returns the enum constant of this type with the specified name.static LoggerInf.LogLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SEVERE
-
WARNING
-
UPDATE_EXCEPTION
-
BAD_REQUEST_FORMAT
-
INFO
-
DEBUG
-
DEBUG2
-
DEBUG3
-
DEBUG_LOW
-
-
Field Details
-
level
protected final int level -
description
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getLevel
public int getLevel() -
getVersion
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
n
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-