public enum LogSeverity extends Enum<LogSeverity>
Provides the possible Log severities
| Enum Constant and Description |
|---|
error |
informational |
warning |
| Modifier and Type | Method and Description |
|---|---|
int |
getSeverity() |
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 informational
public static final LogSeverity warning
public static final LogSeverity error
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 nullpublic int getSeverity()
Copyright © 2019. All rights reserved.