gugga.logging.Level Class Reference

List of all members.

Detailed Description

The Level class defines a set of standard logging levels that can be used to control logging output. The logging Level objects are ordered and are specified by ordered integers. Enabling logging at a given level also enables logging at all higher levels.

Clients should normally use the predefined Level constants such as Level.SEVERE.

Author:
Ralf Siegel

Definition at line 13 of file Level.as.

Public Member Functions

function getName ()
function valueOf ()
function toString ()

Static Public Member Functions

static function forName (level:String)

Static Public Attributes

static var ALL:Level = new Level("ALL"
static var Number. MIN_VALUE
static var FINEST:Level = new Level("FINEST"
static var static var FINER:Level = new Level("FINER"
static var static var static
var 
FINE:Level = new Level("FINE"
static var static var static
var static var 
CONFIG:Level = new Level("CONFIG"
static var static var static
var static var static var 
INFO:Level = new Level("INFO"
static var static var static
var static var static var
static var 
WARNING:Level = new Level("WARNING"
static var static var static
var static var static var
static var static var 
SEVERE:Level = new Level("SEVERE"
static var static var static
var static var static var
static var static var static
var 
OFF:Level = new Level("OFF"
static var static var static
var static var static var
static var static var static
var Number. 
MAX_VALUE

Private Member Functions

function Level (name:String, value:Number)

Private Attributes

var name:String
var value:Number


Constructor & Destructor Documentation

function gugga.logging.Level.Level ( name:String  ,
value:Number   
) [private]

Create a named Level with a given integer value.

Parameters:
name the level's name
value the value associated with that level

Definition at line 69 of file Level.as.


Member Function Documentation

static function gugga.logging.Level.forName ( level:String   )  [static]

Returns the level object for the given level string

Parameters:
level the level's name
Returns:
the level object

Definition at line 81 of file Level.as.

function gugga.logging.Level.getName (  ) 

Get the name of this level

Returns:
The name as string.

Definition at line 97 of file Level.as.

function gugga.logging.Level.valueOf (  ) 

Get the integer value for this level

Returns:
The name as string.

Definition at line 107 of file Level.as.

function gugga.logging.Level.toString (  ) 

See also:
Object.toString()

Definition at line 115 of file Level.as.


Member Data Documentation

var gugga.logging.Level.ALL [static]

ALL indicates that all messages should be logged

Definition at line 18 of file Level.as.

var Number. gugga.logging.Level.MIN_VALUE [static]

Definition at line 18 of file Level.as.

var gugga.logging.Level.FINEST [static]

CONFIG is a message level for static configuration messages.

Definition at line 23 of file Level.as.

var static var gugga.logging.Level.FINER [static]

FINE is a message level providing tracing information.

Definition at line 23 of file Level.as.

var static var static var gugga.logging.Level.FINE [static]

FINER indicates a fairly detailed tracing message.

Definition at line 23 of file Level.as.

var static var static var static var gugga.logging.Level.CONFIG [static]

FINEST indicates a highly detailed tracing message.

Definition at line 23 of file Level.as.

var static var static var static var static var gugga.logging.Level.INFO [static]

INFO is a message level for informational messages.

Definition at line 23 of file Level.as.

var static var static var static var static var static var gugga.logging.Level.WARNING [static]

WARNING is a message level indicating a potential problem.

Definition at line 23 of file Level.as.

var static var static var static var static var static var static var gugga.logging.Level.SEVERE [static]

SEVERE is a message level indicating a serious failure.

Definition at line 23 of file Level.as.

var static var static var static var static var static var static var static var gugga.logging.Level.OFF [static]

OFF is a special level that can be used to turn off logging.

Definition at line 23 of file Level.as.

var static var static var static var static var static var static var static var Number. gugga.logging.Level.MAX_VALUE [static]

Definition at line 23 of file Level.as.

var gugga.logging.Level.name [private]

Definition at line 60 of file Level.as.

var gugga.logging.Level.value [private]

Definition at line 61 of file Level.as.


Generated on Fri May 11 17:14:14 2007 for GuggaFramework by  doxygen 1.5.2