public enum LogLevel extends java.lang.Enum<LogLevel>
Log level priority order is as follows, from minimum to maximum log information: Off (log is disabled), Severe, Warning, Info, Config, Fine, Debug.
Enum Constant and Description |
---|
Config
Config log level.
|
Debug
Debug log level.
|
Fine
Fine log level.
|
Info
Info log level.
|
Off
Disable log.
|
Severe
Severe log level.
|
Warning
Warning log level.
|
Modifier and Type | Method and Description |
---|---|
static LogLevel |
valueOf(java.lang.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 Off
Disable log.
public static final LogLevel Severe
Severe log level.
public static final LogLevel Warning
Warning log level.
public static final LogLevel Info
Info log level.
public static final LogLevel Config
Config log level.
public static final LogLevel Fine
Fine log level.
public static final LogLevel Debug
Debug log level.
public static LogLevel[] values()
for (LogLevel c : LogLevel.values()) System.out.println(c);
public static LogLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null