Avaya Conferencinge Plugable Logging API

com.avaya.conferencing.logging
Enum Level

java.lang.Object
  extended by java.lang.Enum<Level>
      extended by com.avaya.conferencing.logging.Level
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Level>

public enum Level
extends java.lang.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:

Since:
5.1.0.0.0

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

FINEST

public static final Level FINEST
The Level to chart information that is useful for trace level debugging, for example method entry and exit

Since:
5.1.0.0.0

FINER

public static final Level FINER
The Level to chart information that is useful for detailed debugging

Since:
5.1.0.0.0

FINE

public static final Level FINE
The Level to chart information that is useful for debugging

Since:
5.1.0.0.0

INFO

public static final Level INFO
The Level to inform the log of significant events or information.

Since:
5.1.0.0.0

WARNING

public static final Level WARNING
The Level for problems that should be noted, though may not affect the performance of the application.

Since:
5.1.0.0.0

SEVERE

public static final Level SEVERE
The Level for major problems.

Since:
5.1.0.0.0

FATAL

public static final Level FATAL
The Level for problems that cannot be recovered from.

Since:
5.1.0.0.0
Method Detail

values

public static Level[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Level c : Level.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Level valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
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

Copyright © 2008-2009 Avaya, Inc. Licensed under the Apache License, Version 2.0.