public enum LogSeverity extends Enum<LogSeverity>
Enum Constant and Description |
---|
DEBUG
Debug
|
ERROR
Error
|
FATAL
Fatal
|
INFO
Info
|
WARNING
Warning
|
Modifier and Type | Method and Description |
---|---|
static LogSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogSeverity ERROR
public static final LogSeverity WARNING
public static final LogSeverity INFO
public static final LogSeverity DEBUG
public static final LogSeverity FATAL
public static LogSeverity[] values()
for (LogSeverity c : LogSeverity.values()) System.out.println(c);
public static LogSeverity 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 nullCopyright © 2019. All rights reserved.