OFF, ERROR, WARN, INFO, DEBUG,
TRACE and ALL.
The Level class is final and cannot be sub-classed.
| Modifier and Type | Field and Description |
|---|---|
| public static final Level | ALL
The |
| public static final int | |
| public static final Integer | |
| public static final Level | DEBUG
The |
| public static final int | |
| public static final Integer | |
| public static final Level | ERROR
The |
| public static final int | |
| public static final Integer | |
| public static final Level | INFO
The |
| public static final int | |
| public static final Integer | |
| public final int | |
| public final String | |
| public static final Level | OFF
The |
| public static final int | |
| public static final Integer | |
| private static final long | |
| public static final Level | TRACE
The |
| public static final int | |
| public static final Integer | |
| public static final Level | WARN
The |
| public static final int | |
| public static final Integer |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Level | |
| public static Level | Returns: an instance of this class, i.e. a Level.An integer value representing a level as defined in
LocationAwareLogger levelInt)Convert one of the integer values defined in |
| public boolean | isGreaterOrEqual(Level r)
Returns |
| private Object | Returns: The appropriate flyweight instanceReturn the flyweight instance of the level received through serialization, i.e. 'this'. |
| public int | |
| public Integer | |
| public static Level | |
| public static Level | |
| public static Level | |
| public static Level | |
| public static int | Returns: int An integer corresponding to this level as defined in LocationAwareLoggerThe level to convert to LocationAwareLogger integer level)Convert this level instance to an integer value defined in the
|
| public String | |
| public static Level |
| ALL | back to summary |
|---|---|
| public static final Level ALL The | |
| ALL_INT | back to summary |
|---|---|
| public static final int ALL_INT | |
| ALL_INTEGER | back to summary |
|---|---|
| public static final Integer ALL_INTEGER | |
| DEBUG | back to summary |
|---|---|
| public static final Level DEBUG The | |
| DEBUG_INT | back to summary |
|---|---|
| public static final int DEBUG_INT | |
| DEBUG_INTEGER | back to summary |
|---|---|
| public static final Integer DEBUG_INTEGER | |
| ERROR | back to summary |
|---|---|
| public static final Level ERROR The | |
| ERROR_INT | back to summary |
|---|---|
| public static final int ERROR_INT | |
| ERROR_INTEGER | back to summary |
|---|---|
| public static final Integer ERROR_INTEGER | |
| INFO | back to summary |
|---|---|
| public static final Level INFO The | |
| INFO_INT | back to summary |
|---|---|
| public static final int INFO_INT | |
| INFO_INTEGER | back to summary |
|---|---|
| public static final Integer INFO_INTEGER | |
| levelInt | back to summary |
|---|---|
| public final int levelInt | |
| levelStr | back to summary |
|---|---|
| public final String levelStr | |
| OFF | back to summary |
|---|---|
| public static final Level OFF The | |
| OFF_INT | back to summary |
|---|---|
| public static final int OFF_INT | |
| OFF_INTEGER | back to summary |
|---|---|
| public static final Integer OFF_INTEGER | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| TRACE | back to summary |
|---|---|
| public static final Level TRACE The | |
| TRACE_INT | back to summary |
|---|---|
| public static final int TRACE_INT | |
| TRACE_INTEGER | back to summary |
|---|---|
| public static final Integer TRACE_INTEGER | |
| WARN | back to summary |
|---|---|
| public static final Level WARN The | |
| WARN_INT | back to summary |
|---|---|
| public static final int WARN_INT | |
| WARN_INTEGER | back to summary |
|---|---|
| public static final Integer WARN_INTEGER | |
| Level | back to summary |
|---|---|
| private Level(int levelInt, String levelStr) Instantiate a Level object. | |
| convertAnSLF4JLevel | back to summary |
|---|---|
| public static Level convertAnSLF4JLevel(Level slf4jLevel) | |
| fromLocationAwareLoggerInteger | back to summary |
|---|---|
| public static Level fromLocationAwareLoggerInteger(int levelInt) Convert one of the integer values defined in
| |
| isGreaterOrEqual | back to summary |
|---|---|
| public boolean isGreaterOrEqual(Level r) Returns | |
| readResolve | back to summary |
|---|---|
| private Object readResolve() Return the flyweight instance of the level received through serialization, i.e. 'this'.
| |
| toInt | back to summary |
|---|---|
| public int toInt() Returns the integer representation of this Level. | |
| toInteger | back to summary |
|---|---|
| public Integer toInteger() Convert a Level to an Integer object.
| |
| toLevel | back to summary |
|---|---|
| public static Level toLevel(String sArg) Convert the string passed as argument to a Level. If the conversion fails,
then this method returns | |
| toLevel | back to summary |
|---|---|
| public static Level toLevel(int val) Convert an integer passed as argument to a Level. If the conversion fails,
then this method returns | |
| toLevel | back to summary |
|---|---|
| public static Level toLevel(int val, Level defaultLevel) Convert an integer passed as argument to a Level. If the conversion fails, then this method returns the specified default. | |
| toLevel | back to summary |
|---|---|
| public static Level toLevel(final String sArg, Level defaultLevel) Convert the string passed as argument to a Level. If the conversion fails,
then this method returns the value of | |
| toLocationAwareLoggerInteger | back to summary |
|---|---|
| public static int toLocationAwareLoggerInteger(Level level) Convert this level instance to an integer value defined in the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns the string representation of this Level.
| |
| valueOf | back to summary |
|---|---|
| public static Level valueOf(String sArg) This method exists in order to comply with Joran's valueOf convention. | |