public static enum MadaraLog.MadaraLogLevel extends java.lang.Enum<MadaraLog.MadaraLogLevel>
Modifier and Type | Method and Description |
---|---|
static MadaraLog.MadaraLogLevel |
getDebugLevel(int val)
Converts an int to a
MadaraLogLevel |
int |
value()
Get the integer value of this
MadaraLogLevel |
static MadaraLog.MadaraLogLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MadaraLog.MadaraLogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MadaraLog.MadaraLogLevel MADARA_LOG_EMERGENCY
public static final MadaraLog.MadaraLogLevel MADARA_LOG_TERMINAL_ERROR
public static final MadaraLog.MadaraLogLevel MADARA_LOG_NONFATAL_ERROR
public static final MadaraLog.MadaraLogLevel MADARA_LOG_ERROR
public static final MadaraLog.MadaraLogLevel MADARA_LOG_WARNING
public static final MadaraLog.MadaraLogLevel MADARA_LOG_MAJOR_EVENT
public static final MadaraLog.MadaraLogLevel MADARA_LOG_MINOR_EVENT
public static final MadaraLog.MadaraLogLevel MADARA_LOG_EVENT_TRACE
public static final MadaraLog.MadaraLogLevel MADARA_LOG_MAJOR_DEBUG_INFO
public static final MadaraLog.MadaraLogLevel MADARA_LOG_TRACE
public static final MadaraLog.MadaraLogLevel MADARA_LOG_DETAILED_TRACE
public static MadaraLog.MadaraLogLevel[] values()
for (MadaraLog.MadaraLogLevel c : MadaraLog.MadaraLogLevel.values()) System.out.println(c);
public static MadaraLog.MadaraLogLevel 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 int value()
MadaraLogLevel
MadaraLogLevel
public static MadaraLog.MadaraLogLevel getDebugLevel(int val)
MadaraLogLevel
val
- value to convertMadaraLogLevel
or null if the int is invalid