public static enum SimpleLog.Level extends java.lang.Enum<SimpleLog.Level>
Enum Constant and Description |
---|
ALL |
DEBUG |
FATAL |
INFO |
OFF |
TRACE |
WARNING |
Modifier and Type | Method and Description |
---|---|
int |
getPriority()
Returns the numeric priority of this loglevel, with 0 being the lowest
|
java.lang.String |
getTag()
Returns the Log-Tag (e.g.
|
boolean |
isError()
Returns whether this LOG-level should be treated like an error or not
|
static SimpleLog.Level |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SimpleLog.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleLog.Level ALL
public static final SimpleLog.Level TRACE
public static final SimpleLog.Level DEBUG
public static final SimpleLog.Level INFO
public static final SimpleLog.Level WARNING
public static final SimpleLog.Level FATAL
public static final SimpleLog.Level OFF
public static SimpleLog.Level[] values()
for (SimpleLog.Level c : SimpleLog.Level.values()) System.out.println(c);
public static SimpleLog.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 java.lang.String getTag()
public int getPriority()
public boolean isError()