org.eclipse.birt.data.oda.util.logging
Class Level

java.lang.Object
  extended byorg.eclipse.birt.data.oda.util.logging.Level

Deprecated. As of BIRT 2.0, replaced by org.eclipse.datatools.connectivity.oda.util.logging.Level .
The BIRT ODA run-time framework has been migrated to the Eclipse Data Tools Platform (DTP) project.

public final class Level
extends java.lang.Object

Level represents logging levels within the logging framework. It defines a standard set of logging levels to control logging.


Field Summary
static int ALL
          Deprecated. The constant indicating the integer value of ALL.
static Level ALL_LEVEL
          Deprecated. The constant indicating the log level ALL.
static int CONFIG
          Deprecated. The constant indicating the integer value of CONFIG.
static Level CONFIG_LEVEL
          Deprecated. The constant indicating the log level CONFIG.
static int FINE
          Deprecated. The constant indicating the integer value of FINE.
static Level FINE_LEVEL
          Deprecated. The constant indicating the log level FINE.
static int FINER
          Deprecated. The constant indicating the integer value of FINER.
static Level FINER_LEVEL
          Deprecated. The constant indicating the log level FINER.
static int FINEST
          Deprecated. The constant indicating the integer value of FINEST.
static Level FINEST_LEVEL
          Deprecated. The constant indicating the log level FINEST.
static int INFO
          Deprecated. The constant indicating the integer value of INFO.
static Level INFO_LEVEL
          Deprecated. The constant indicating the log level INFO.
static int OFF
          Deprecated. The constant indicating the integer value of OFF.
static Level OFF_LEVEL
          Deprecated. The constant indicating the log level OFF.
static int SEVERE
          Deprecated. The constant indicating the integer value of SEVERE.
static Level SEVERE_LEVEL
          Deprecated. The constant indicating the log level SEVERE.
static int WARNING
          Deprecated. The constant indicating the integer value of WARNING.
static Level WARNING_LEVEL
          Deprecated. The constant indicating the log level WARNING.
 
Constructor Summary
protected Level(java.lang.String name, int value)
          Deprecated. Creates a Level instance with the specified name and integer log level value.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Deprecated. Checks whether the two objects have the same log level value.
 java.lang.String getName()
          Deprecated. Gets the log level name.
 int hashCode()
          Deprecated. Generate a hashcode based on the log level value.
 int intValue()
          Deprecated. Gets the log level value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OFF

public static final int OFF
Deprecated. 
The constant indicating the integer value of OFF.

See Also:
Constant Field Values

SEVERE

public static final int SEVERE
Deprecated. 
The constant indicating the integer value of SEVERE.

See Also:
Constant Field Values

WARNING

public static final int WARNING
Deprecated. 
The constant indicating the integer value of WARNING.

See Also:
Constant Field Values

INFO

public static final int INFO
Deprecated. 
The constant indicating the integer value of INFO.

See Also:
Constant Field Values

CONFIG

public static final int CONFIG
Deprecated. 
The constant indicating the integer value of CONFIG.

See Also:
Constant Field Values

FINE

public static final int FINE
Deprecated. 
The constant indicating the integer value of FINE.

See Also:
Constant Field Values

FINER

public static final int FINER
Deprecated. 
The constant indicating the integer value of FINER.

See Also:
Constant Field Values

FINEST

public static final int FINEST
Deprecated. 
The constant indicating the integer value of FINEST.

See Also:
Constant Field Values

ALL

public static final int ALL
Deprecated. 
The constant indicating the integer value of ALL.

See Also:
Constant Field Values

OFF_LEVEL

public static final Level OFF_LEVEL
Deprecated. 
The constant indicating the log level OFF. OFF should be used to turn off logging.


SEVERE_LEVEL

public static final Level SEVERE_LEVEL
Deprecated. 
The constant indicating the log level SEVERE. SEVERE should be used to indicate a serious failure.


WARNING_LEVEL

public static final Level WARNING_LEVEL
Deprecated. 
The constant indicating the log level WARNING. WARNING should be used to indicate potential problems.


INFO_LEVEL

public static final Level INFO_LEVEL
Deprecated. 
The constant indicating the log level INFO. INFO should be used for informational messages.


CONFIG_LEVEL

public static final Level CONFIG_LEVEL
Deprecated. 
The constant indicating the log level CONFIG. CONFIG should be used for configuration messages.


FINE_LEVEL

public static final Level FINE_LEVEL
Deprecated. 
The constant indicating the log level FINE. FINE should be used for relatively detailed trace logging.


FINER_LEVEL

public static final Level FINER_LEVEL
Deprecated. 
The constant indicating the log level FINER. FINER should be used for detailed trace logging.


FINEST_LEVEL

public static final Level FINEST_LEVEL
Deprecated. 
The constant indicating the log level FINEST. FINEST should be used for very detailed trace logging.


ALL_LEVEL

public static final Level ALL_LEVEL
Deprecated. 
The constant indicating the log level ALL. ALL should be used to log everything.

Constructor Detail

Level

protected Level(java.lang.String name,
                int value)
Deprecated. 
Creates a Level instance with the specified name and integer log level value.

Parameters:
name - the log level name.
value - the integer log level value.
Method Detail

equals

public boolean equals(java.lang.Object obj)
Deprecated. 
Checks whether the two objects have the same log level value.

Parameters:
obj - the object to compare against.
Returns:
true, if both objects have the same log level value.

hashCode

public int hashCode()
Deprecated. 
Generate a hashcode based on the log level value.

Returns:
the hashcode based on the log level value.

getName

public java.lang.String getName()
Deprecated. 
Gets the log level name.

Returns:
the log level name.

intValue

public int intValue()
Deprecated. 
Gets the log level value.

Returns:
the log level value.


Copyright © 2005 Actuate Corp. All rights reserved.