|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.resilientedge.util.logger.Level
Contains static logging Levels and provides conversion methods.
Levels include:
| Fields inherited from interface com.resilientedge.util.logger.LevelConstants |
CRITICAL_ERROR, CRITICAL_ERROR_STRING, DEBUG, DEBUG_STRING, ERROR, ERROR_STRING, INFO, INFO_STRING, TRACE, TRACE_STRING, UNKNOWN_LEVEL, WARNING, WARNING_STRING |
| Constructor Summary | |
Level(int value)
Construct a Level with a supplied value. |
|
| Method Summary | |
java.lang.String |
getName()
Returns a string representing the name of the Level object, based upon its value. |
int |
getValue()
Returns the Level object's value. |
static int |
parseInt(java.lang.String name)
Returns the value for a Level String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Level(int value)
value - the Level's value| Method Detail |
public int getValue()
public java.lang.String getName()
throws UnknownLogTypeException
getName in interface LoggingTypeUnknownLogTypeException - thrown if the Level's value does not
have a corresponding text name.
public static int parseInt(java.lang.String name)
throws UnknownLogTypeException
name - the text name to lookupUnknownLogTypeException - thrown if the name is not recognized.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||