public enum LogLevel extends Enum<LogLevel>
| Enum Constant and Description |
|---|
LOG_CRITICAL
Critical messages.
|
LOG_DEBUG
Debug messages.
|
LOG_ERROR
Error messages.
|
LOG_INFO
Info messages.
|
LOG_WARN
Warning messages.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getImportance() |
String |
getName() |
static LogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogLevel LOG_CRITICAL
public static final LogLevel LOG_DEBUG
public static final LogLevel LOG_ERROR
LOG_WARN but less important
than LOG_CRITICAL.public static final LogLevel LOG_INFO
public static final LogLevel LOG_WARN
public static LogLevel[] values()
for (LogLevel c : LogLevel.values()) System.out.println(c);
public static 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 int getImportance()
LOG_DEBUG.public String getName()
Copyright © 2014 <code@io7m.com> http://io7m.com