TPTP 4.1.0 Platform Project
Public API Specification

org.eclipse.hyades.logging.java
Class CommonBaseEventLevel

java.lang.Object
  extended byjava.util.logging.Level
      extended byorg.eclipse.hyades.logging.java.CommonBaseEventLevel
All Implemented Interfaces:
java.io.Serializable

public class CommonBaseEventLevel
extends java.util.logging.Level

Extension of the Java Logging java.util.logging.Level class used to create customized levels.

Users requiring logging levels not provided in the Java Logging java.util.logging.Level class should create a org.eclipse.hyades.logging.java using one of its constructors, passing a symbolic name and associated numerical value for the newly defined level.

Convenience static level objects are not provided by this extension class. Application code leveraging this class should provide convenience static level objects relative to run-time logging instrumentation.

NOTE: The Java Logging classes must be on the CLASSPATH at run-time to utilize this level class.

Since:
April 15, 2004
See Also:
Level, Serialized Form

Field Summary
 
Fields inherited from class java.util.logging.Level
ALL, CONFIG, FINE, FINER, FINEST, INFO, OFF, SEVERE, WARNING
 
Constructor Summary
CommonBaseEventLevel(java.lang.String name, int value)
          Two parameter constructor for creating a customized level with a symbolic name and associated numerical value.
CommonBaseEventLevel(java.lang.String name, int value, java.lang.String resourceBundleName)
          Three parameter constructor for creating a customized level with a localized symbolic name and associated numerical value.
 
Methods inherited from class java.util.logging.Level
equals, getLocalizedName, getName, getResourceBundleName, hashCode, intValue, parse, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommonBaseEventLevel

public CommonBaseEventLevel(java.lang.String name,
                            int value)
Two parameter constructor for creating a customized level with a symbolic name and associated numerical value.

Parameters:
name - The symbolic name of the newly defined level.
value - The associated numerical value of the newly defined level.

CommonBaseEventLevel

public CommonBaseEventLevel(java.lang.String name,
                            int value,
                            java.lang.String resourceBundleName)
Three parameter constructor for creating a customized level with a localized symbolic name and associated numerical value.

Parameters:
name - The key into the resource bundle to retrieve the symbolic name of the newly defined level.
value - The associated numerical value of the newly defined level.
resourceBundleName - The name of a local resource bundle to localize the newly defined level's name, otherwise null.

TPTP 4.1.0 Platform Project
Public API Specification