|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.util.logging.Level
This class is a kind of `enum' type, for logging priorities. It has static instances and only a private constructor. And a function to translate to an int, which is handy for use in a switch.
| Field Summary | |
static Level |
DEBUG
A constant. |
static int |
DEBUG_INT
A possible result of toInt() |
static Level |
ERROR
A constant. |
static int |
ERROR_INT
A possible result of toInt() |
static Level |
FATAL
A constant. |
static int |
FATAL_INT
A possible result of toInt() |
static Level |
INFO
A constant. |
static int |
INFO_INT
A possible result of toInt() |
static Level |
OFF
A constant. |
static int |
OFF_INT
A possible result of toInt() |
static Level |
SERVICE
A constant. |
static int |
SERVICE_INT
A possible result of toInt() |
static Level |
TRACE
A constant. |
static int |
TRACE_INT
A possible result of toInt() |
static Level |
WARN
A constant. |
static int |
WARN_INT
A possible result of toInt() |
| Method Summary | |
int |
toInt()
Makes an integer from this object. |
static Level |
toLevel(String level)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int TRACE_INT
toInt()
public static final int DEBUG_INT
toInt()
public static final int SERVICE_INT
toInt()
public static final int INFO_INT
toInt()
public static final int WARN_INT
toInt()
public static final int ERROR_INT
toInt()
public static final int FATAL_INT
toInt()
public static final int OFF_INT
toInt()
public static final Level TRACE
Logger.setLevel(org.mmbase.util.logging.Level)
public static final Level DEBUG
Logger.setLevel(org.mmbase.util.logging.Level)
public static final Level SERVICE
Logger.setLevel(org.mmbase.util.logging.Level)
public static final Level INFO
Logger.setLevel(org.mmbase.util.logging.Level)
public static final Level WARN
Logger.setLevel(org.mmbase.util.logging.Level)
public static final Level ERROR
Logger.setLevel(org.mmbase.util.logging.Level)
public static final Level FATAL
Logger.setLevel(org.mmbase.util.logging.Level)
public static final Level OFF
Logger.setLevel(org.mmbase.util.logging.Level)
| Method Detail |
public static Level toLevel(String level)
public final int toInt()
public final String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||