public static enum Logger.MsgType extends java.lang.Enum<Logger.MsgType>
Enum Constant and Description |
---|
Debug
Debug.
|
Error
Error.
|
Exception
Exception.
|
Info
Information.
|
Trace
Trace.
|
Warn
Warning.
|
Modifier and Type | Field and Description |
---|---|
static int |
SIZE |
Modifier and Type | Method and Description |
---|---|
static Logger.MsgType |
forValue(int value) |
int |
getValue() |
static Logger.MsgType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Logger.MsgType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Logger.MsgType Trace
public static final Logger.MsgType Debug
public static final Logger.MsgType Info
public static final Logger.MsgType Warn
public static final Logger.MsgType Error
public static final Logger.MsgType Exception
public static final int SIZE
public static Logger.MsgType[] values()
for (Logger.MsgType c : Logger.MsgType.values()) System.out.println(c);
public static Logger.MsgType 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 getValue()
public static Logger.MsgType forValue(int value)