public static enum Logger.LogLevel extends java.lang.Enum<Logger.LogLevel>
Enum Constant and Description |
---|
AF_LOG_LEVEL_DEBUG
Debug
|
AF_LOG_LEVEL_ERROR
Error
|
AF_LOG_LEVEL_FATAL
Fatal
|
AF_LOG_LEVEL_INFO
Info
|
AF_LOG_LEVEL_NONE
None
|
AF_LOG_LEVEL_TRACE
Trace
|
AF_LOG_LEVEL_WARNING
Warning
|
Modifier and Type | Method and Description |
---|---|
static Logger.LogLevel |
convert(int logLevel) |
int |
getValue() |
static Logger.LogLevel |
valueOf(java.lang.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 are declared.
|
public static final Logger.LogLevel AF_LOG_LEVEL_NONE
public static final Logger.LogLevel AF_LOG_LEVEL_FATAL
public static final Logger.LogLevel AF_LOG_LEVEL_ERROR
public static final Logger.LogLevel AF_LOG_LEVEL_WARNING
public static final Logger.LogLevel AF_LOG_LEVEL_INFO
public static final Logger.LogLevel AF_LOG_LEVEL_DEBUG
public static final Logger.LogLevel AF_LOG_LEVEL_TRACE
public static Logger.LogLevel[] values()
for (Logger.LogLevel c : Logger.LogLevel.values()) System.out.println(c);
public static Logger.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 nullpublic static Logger.LogLevel convert(int logLevel)
public int getValue()