Jaxer.Log.Level : Object
Return to: Jaxer Framework index

Logging level object used by the Logging facility to set or determine the current log levels.

Platform Support

Jaxer Server FrameworkJaxer Client Framework
1.0no

Constructors

ConstructorActionJaxer Server FrameworkJaxer Client Framework
Jaxer.Log.Level Constructor(String name, Number value) : Jaxer.Log.Level
The constructor of a logging level object.Messages must exceed a certain severity level before they are logged.
Show Details1.0no

Jaxer.Log.Level(String name, Number value) : Jaxer.Log.Level

The constructor of a logging level object.Messages must exceed a certain severity level before they are logged.

Parameters
StringnameThe name of the level
NumbervalueThe numeric value to associate with this level. Higher numbers are more severe.

Returns
Jaxer.Log.LevelReturns an instance of Level.

Functions

MethodActionJaxer Server FrameworkJaxer Client Framework
isAtLeast() : Boolean
A common comparison operator on Jaxer.Log.Level objects: is the current level at or above the given level?
Show Details1.0no

Returns
Booleantrue if matches or exceeds the given level

isAtOrBelow() : Boolean
A common comparison operator on Jaxer.Log.Level objects: is the current level at or below the given level?
Show Details1.0no

Returns
Booleantrue if matches or falls below the given level

isBelow() : Boolean
A common comparison operator on Jaxer.Log.Level objects: is the current level below the given level?
Show Details1.0no

Returns
Booleantrue if falls below the given level

toString() : String
The textual representation of a level, namely its name
Show Details1.0no

Returns
StringThe name

aptana_docs