public enum LoggingLevel extends Enum<LoggingLevel>
Enum Constant and Description |
---|
ALL |
DEBUG |
ERROR |
FATAL |
INFO |
OFF |
TRACE |
WARN |
Modifier and Type | Method and Description |
---|---|
static LoggingLevel |
fromValue(String v) |
String |
toString() |
String |
value() |
static LoggingLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoggingLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggingLevel ALL
public static final LoggingLevel DEBUG
public static final LoggingLevel ERROR
public static final LoggingLevel FATAL
public static final LoggingLevel INFO
public static final LoggingLevel OFF
public static final LoggingLevel TRACE
public static final LoggingLevel WARN
public static LoggingLevel[] values()
for (LoggingLevel c : LoggingLevel.values()) System.out.println(c);
public static LoggingLevel 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 String value()
public static LoggingLevel fromValue(String v)
public String toString()
toString
in class Enum<LoggingLevel>
Copyright © 2007, 2013, Oracle and/or its affiliates. All rights reserved.