org.eodisp.util.configuration
Enum Log4JConfiguration.LogLevel
java.lang.Object
java.lang.Enum<Log4JConfiguration.LogLevel>
org.eodisp.util.configuration.Log4JConfiguration.LogLevel
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Log4JConfiguration.LogLevel>
- Enclosing class:
- Log4JConfiguration
public static enum Log4JConfiguration.LogLevel
- extends java.lang.Enum<Log4JConfiguration.LogLevel>
Enumeration of the log levels provided by log4j.
- See Also:
Level
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ALL
public static final Log4JConfiguration.LogLevel ALL
TRACE
public static final Log4JConfiguration.LogLevel TRACE
DEBUG
public static final Log4JConfiguration.LogLevel DEBUG
INFO
public static final Log4JConfiguration.LogLevel INFO
WARN
public static final Log4JConfiguration.LogLevel WARN
ERROR
public static final Log4JConfiguration.LogLevel ERROR
FATAL
public static final Log4JConfiguration.LogLevel FATAL
OFF
public static final Log4JConfiguration.LogLevel OFF
values
public static Log4JConfiguration.LogLevel[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Log4JConfiguration.LogLevel c : Log4JConfiguration.LogLevel.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Log4JConfiguration.LogLevel valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null