de.espirit.common.base
Enum Logger.LogLevel
java.lang.Object
java.lang.Enum<Logger.LogLevel>
de.espirit.common.base.Logger.LogLevel
- All Implemented Interfaces:
- Serializable, Comparable<Logger.LogLevel>
- Enclosing interface:
- Logger
public static enum Logger.LogLevel
- extends Enum<Logger.LogLevel>
Method Summary |
static Logger.LogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Logger.LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
TRACE
public static final Logger.LogLevel TRACE
DEBUG
public static final Logger.LogLevel DEBUG
INFO
public static final Logger.LogLevel INFO
WARN
public static final Logger.LogLevel WARN
ERROR
public static final Logger.LogLevel ERROR
FATAL
public static final Logger.LogLevel FATAL
values
public static final Logger.LogLevel[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Logger.LogLevel c : Logger.LogLevel.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Logger.LogLevel valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480