|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.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 |
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(java.lang.String level)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 Level TRACE
Logger.setPriority(org.mmbase.util.logging.Level)public static final Level DEBUG
Logger.setPriority(org.mmbase.util.logging.Level)public static final Level SERVICE
Logger.setPriority(org.mmbase.util.logging.Level)public static final Level INFO
Logger.setPriority(org.mmbase.util.logging.Level)public static final Level WARN
Logger.setPriority(org.mmbase.util.logging.Level)public static final Level ERROR
Logger.setPriority(org.mmbase.util.logging.Level)public static final Level FATAL
Logger.setPriority(org.mmbase.util.logging.Level)| Method Detail |
public static Level toLevel(java.lang.String level)
public final int toInt()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||