|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MorphoLogLevel>
com.morpho.morphosmart.sdk.MorphoLogLevel
public enum MorphoLogLevel
Enum Constant Summary | |
---|---|
MORPHO_LOG_DEBUG
For recording the traces with the level ERROR or WARNING or INFO or DEBUG |
|
MORPHO_LOG_ERROR
For recording the traces with the level ERROR |
|
MORPHO_LOG_INFO
For recording the traces with the level ERROR or WARNING or INFO |
|
MORPHO_LOG_NOLOG
Logging disabled |
|
MORPHO_LOG_WARNING
for recording the traces with the level ERROR or WARNING |
Method Summary | |
---|---|
static MorphoLogLevel |
fromString(java.lang.String label)
|
int |
getCode()
|
java.lang.String |
getLabel()
|
static MorphoLogLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MorphoLogLevel[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
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 |
Enum Constant Detail |
---|
public static final MorphoLogLevel MORPHO_LOG_NOLOG
public static final MorphoLogLevel MORPHO_LOG_ERROR
public static final MorphoLogLevel MORPHO_LOG_WARNING
public static final MorphoLogLevel MORPHO_LOG_INFO
public static final MorphoLogLevel MORPHO_LOG_DEBUG
Method Detail |
---|
public static MorphoLogLevel[] values()
for (MorphoLogLevel c : MorphoLogLevel.values()) System.out.println(c);
public static MorphoLogLevel 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 name
java.lang.NullPointerException
- if the argument is nullpublic int getCode()
public java.lang.String getLabel()
public static MorphoLogLevel fromString(java.lang.String label)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |