com.arjuna.common.util.logging
Class DebugLevel

java.lang.Object
  extended by com.arjuna.common.util.logging.DebugLevel

public class DebugLevel
extends java.lang.Object

The DebugLevel class provides default finer debugging value to determine if finer debugging is allowed or not. The various levels of common debugging that are available:

Since:
1.0
Version:
$id$
Author:
Malik SAHEB - malik.saheb@arjuna.com

Field Summary
static long ALL_NON_TRIVIAL
           
static long ALL_TRIVIAL
           
static long CONSTRUCT_AND_DESTRUCT
           
static long CONSTRUCTORS
           
static long DESTRUCTORS
           
static long ERROR_MESSAGES
           
static long FULL_DEBUGGING
           
static long FUNCS_AND_OPS
           
static long FUNCTIONS
           
static long NO_DEBUGGING
           
static long OPERATORS
           
static long TRIVIAL_FUNCS
           
static long TRIVIAL_OPERATORS
           
 
Constructor Summary
DebugLevel()
           
 
Method Summary
 long getLevel(java.lang.String level)
           
 java.lang.String printString(long level)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_DEBUGGING

public static final long NO_DEBUGGING
See Also:
Constant Field Values

CONSTRUCTORS

public static final long CONSTRUCTORS
See Also:
Constant Field Values

DESTRUCTORS

public static final long DESTRUCTORS
See Also:
Constant Field Values

CONSTRUCT_AND_DESTRUCT

public static final long CONSTRUCT_AND_DESTRUCT
See Also:
Constant Field Values

FUNCTIONS

public static final long FUNCTIONS
See Also:
Constant Field Values

OPERATORS

public static final long OPERATORS
See Also:
Constant Field Values

FUNCS_AND_OPS

public static final long FUNCS_AND_OPS
See Also:
Constant Field Values

ALL_NON_TRIVIAL

public static final long ALL_NON_TRIVIAL
See Also:
Constant Field Values

TRIVIAL_FUNCS

public static final long TRIVIAL_FUNCS
See Also:
Constant Field Values

TRIVIAL_OPERATORS

public static final long TRIVIAL_OPERATORS
See Also:
Constant Field Values

ALL_TRIVIAL

public static final long ALL_TRIVIAL
See Also:
Constant Field Values

ERROR_MESSAGES

public static final long ERROR_MESSAGES
See Also:
Constant Field Values

FULL_DEBUGGING

public static final long FULL_DEBUGGING
See Also:
Constant Field Values
Constructor Detail

DebugLevel

public DebugLevel()
Method Detail

getLevel

public long getLevel(java.lang.String level)
Parameters:
level - is the string representation of the Level
Returns:
the Finer Debugging Value associated with string representation

printString

public java.lang.String printString(long level)
Parameters:
level - is the value of the provided Level
Returns:
the string representation of the finer debugging level.