public static enum LoggingUtils.LogLevel extends Enum<LoggingUtils.LogLevel>
Enum Constant and Description |
---|
ALL |
CONFIG |
FINE |
FINER |
FINEST |
INFO |
OFF |
PERFLOG |
SEVERE |
WARNING |
Modifier and Type | Method and Description |
---|---|
Level |
getLevel() |
static LoggingUtils.LogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoggingUtils.LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggingUtils.LogLevel PERFLOG
public static final LoggingUtils.LogLevel ALL
public static final LoggingUtils.LogLevel CONFIG
public static final LoggingUtils.LogLevel FINE
public static final LoggingUtils.LogLevel FINER
public static final LoggingUtils.LogLevel FINEST
public static final LoggingUtils.LogLevel INFO
public static final LoggingUtils.LogLevel OFF
public static final LoggingUtils.LogLevel SEVERE
public static final LoggingUtils.LogLevel WARNING
public static LoggingUtils.LogLevel[] values()
for (LoggingUtils.LogLevel c : LoggingUtils.LogLevel.values()) System.out.println(c);
public static LoggingUtils.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 Level getLevel()
Copyright © 2017. All rights reserved.