|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Log.LogLevel>
org.peace_tools.generic.Log.LogLevel
public static enum Log.LogLevel
This enumeration provides a convenient mechanism for referring to
different error levels when generating logs. The error levels are
interpreted in different manners as documented with each enumeration. The
user typically has the option to control the level of logging that the
user desires. Typically DEBUG
and INFO
levels are not
logged by default.
Enum Constant Summary | |
---|---|
ERROR
This log level value must be used to generate error messages that report failure of operations and provide additional information regarding failure status. |
|
INFO
This is an unimportant log entry that is typically used to provide additional information to the user. |
|
NOTICE
This is a reasonably important log entry that is typically used to provide additional information to the user. |
|
WARNING
This log level value must be used to generate warning messages that indicate impeding problems to the user. |
Method Summary | |
---|---|
static Log.LogLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Log.LogLevel[] |
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 Log.LogLevel INFO
public static final Log.LogLevel NOTICE
public static final Log.LogLevel WARNING
public static final Log.LogLevel ERROR
Method Detail |
---|
public static Log.LogLevel[] values()
for (Log.LogLevel c : Log.LogLevel.values()) System.out.println(c);
public static Log.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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |