Enum Constant and Description |
---|
DEBUG
Debug are the lowest level of logging.
|
ERROR
An error which very probably causes alteration of the result
|
FATAL
A fatal error should be thrown when the program is absolutely not able to continue
|
IMPORTANT
An important log should be considered by the developer but doesn't have a real impact on the result
|
INFORM
Simply inform the developer or user
|
WARNING
A warning doesn't have impact on the problem but should be considered for next updates
|
Modifier and Type | Method and Description |
---|---|
boolean |
isGE(Log.Level _other)
Check whether a log level is more important than another
|
static Log.Level |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Log.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Log.Level FATAL
public static final Log.Level ERROR
public static final Log.Level IMPORTANT
public static final Log.Level WARNING
public static final Log.Level INFORM
public static final Log.Level DEBUG
public static Log.Level[] values()
for (Log.Level c : Log.Level.values()) System.out.println(c);
public static Log.Level 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 boolean isGE(Log.Level _other)
_other
- the log level to compare to