Package com.codahale.metrics
Enum Slf4jReporter.LoggingLevel
- java.lang.Object
-
- java.lang.Enum<Slf4jReporter.LoggingLevel>
-
- com.codahale.metrics.Slf4jReporter.LoggingLevel
-
- All Implemented Interfaces:
Serializable
,Comparable<Slf4jReporter.LoggingLevel>
- Enclosing class:
- Slf4jReporter
public static enum Slf4jReporter.LoggingLevel extends Enum<Slf4jReporter.LoggingLevel>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Slf4jReporter.LoggingLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static Slf4jReporter.LoggingLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRACE
public static final Slf4jReporter.LoggingLevel TRACE
-
DEBUG
public static final Slf4jReporter.LoggingLevel DEBUG
-
INFO
public static final Slf4jReporter.LoggingLevel INFO
-
WARN
public static final Slf4jReporter.LoggingLevel WARN
-
ERROR
public static final Slf4jReporter.LoggingLevel ERROR
-
-
Method Detail
-
values
public static Slf4jReporter.LoggingLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Slf4jReporter.LoggingLevel c : Slf4jReporter.LoggingLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Slf4jReporter.LoggingLevel valueOf(String name)
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
-
-