public static enum CommandLineLogger.LogLevel extends Enum<CommandLineLogger.LogLevel>
Modifier and Type | Method and Description |
---|---|
static CommandLineLogger.LogLevel |
fromValue(String value) |
static Set<String> |
getLevelNames() |
int |
levelInt() |
String |
toString() |
String |
value() |
static CommandLineLogger.LogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandLineLogger.LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandLineLogger.LogLevel OFF
public static final CommandLineLogger.LogLevel ERROR
public static final CommandLineLogger.LogLevel WARN
public static final CommandLineLogger.LogLevel INFO
public static final CommandLineLogger.LogLevel DEBUG
public static final CommandLineLogger.LogLevel TRACE
public static CommandLineLogger.LogLevel[] values()
for (CommandLineLogger.LogLevel c : CommandLineLogger.LogLevel.values()) System.out.println(c);
public static CommandLineLogger.LogLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CommandLineLogger.LogLevel fromValue(String value)
public int levelInt()
public String toString()
toString
in class Enum<CommandLineLogger.LogLevel>
public String value()
Copyright © 2022. All rights reserved.