Package com.spotify.logging
Enum LoggingConfigurator.Level
- java.lang.Object
-
- java.lang.Enum<LoggingConfigurator.Level>
-
- com.spotify.logging.LoggingConfigurator.Level
-
- All Implemented Interfaces:
Serializable
,Comparable<LoggingConfigurator.Level>
- Enclosing class:
- LoggingConfigurator
public static enum LoggingConfigurator.Level extends Enum<LoggingConfigurator.Level>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LoggingConfigurator.Level
valueOf(String name)
Returns the enum constant of this type with the specified name.static LoggingConfigurator.Level[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final LoggingConfigurator.Level OFF
-
ERROR
public static final LoggingConfigurator.Level ERROR
-
WARN
public static final LoggingConfigurator.Level WARN
-
INFO
public static final LoggingConfigurator.Level INFO
-
DEBUG
public static final LoggingConfigurator.Level DEBUG
-
TRACE
public static final LoggingConfigurator.Level TRACE
-
ALL
public static final LoggingConfigurator.Level ALL
-
-
Method Detail
-
values
public static LoggingConfigurator.Level[] 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 (LoggingConfigurator.Level c : LoggingConfigurator.Level.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoggingConfigurator.Level 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
-
-