|
Avaya Conferencinge Plugable Logging API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Level>
com.avaya.conferencing.logging.Level
public enum Level
Defines the logging levels of the Logger, the mapping to the levels of the underlying Logging framework
must be defined in the Logger itself
Please note, in some of the underlying frameworks, these levels may
map to a single framework level. It is possible to map more than 1 of these levels to a single level in the
underlying framework (for example, both FATAL and SEVERE may map to a single underlying framework
level, where the underlying framework does not support 2 error levels)
Relative ordering of levels is
shown below, from lowest priority to highest priority. The underlying framework mapping MUST gaurentee that levels
are in the same relative order (for example, FATAL and SEVERE may map to the same underlying value
or to values where FATAL has higher priority than SEVERE, but MAY NOT map to values where FATAL has less priority than SEVERE.
The relative ordering of the levels is as follows:
| Enum Constant Summary | |
|---|---|
FATAL
The Level for problems that cannot be recovered from. |
|
FINE
The Level to chart information that is useful for debugging |
|
FINER
The Level to chart information that is useful for detailed debugging |
|
FINEST
The Level to chart information that is useful for trace level debugging, for example method entry and exit |
|
INFO
The Level to inform the log of significant events or information. |
|
SEVERE
The Level for major problems. |
|
WARNING
The Level for problems that should be noted, though may not affect the performance of the application. |
|
| Method Summary | |
|---|---|
static Level |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Level[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Level FINEST
public static final Level FINER
public static final Level FINE
public static final Level INFO
public static final Level WARNING
public static final Level SEVERE
public static final Level FATAL
| Method Detail |
|---|
public static Level[] values()
for (Level c : Level.values()) System.out.println(c);
public static 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 name
java.lang.NullPointerException - if the argument is null
|
Avaya Conferencinge Plugable Logging API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||