DebugUtils Class Reference

A utility for printing messages and seeing which file they originated from. More...

List of all members.

Static Public Member Functions

static int getDebugPriorityMask ()
static boolean isDebugTraceOn ()
static synchronized void print (Object object)
static synchronized void println (Object object)
static synchronized void println (Object object, int debugPriority)
static synchronized void printlnWithStackOffset (Object object, int additionalStackOffset)
static void setDebugPriorityMask (int priorityMask)
static void setDebugTraceVisible (boolean debugTrace)

Detailed Description

A utility for printing messages and seeing which file they originated from.

This class will also provide support for creating debug levels (not really implemented yet).

This software is distributed under the BSD License.

Ron B. Yeh (ronyeh(AT)
Sep 1, 2004 created at FSCA.

Jul 8, 2005 imported to HCILib.

Jun 8, 2006 cleaned up stuff. changed format.

Aug 8, 2006 added to R3.

Definition at line 20 of file

Member Function Documentation

static int getDebugPriorityMask (  )  [static]

the debugPriorityMask

Definition at line 45 of file

static boolean isDebugTraceOn (  )  [static]

the debugTrace

Definition at line 52 of file

static synchronized void print ( Object  object  )  [static]


Definition at line 59 of file

static synchronized void println ( Object  object,
int  debugPriority 
) [static]

debugPriority an int that describes how important this message is. If it is greater than debugPriorityMask, then it will be printed out. If it is less than debugLevel, then it will be hidden.

Definition at line 102 of file

References DebugUtils.println().

static synchronized void println ( Object  object  )  [static]

object the object to print out

Definition at line 91 of file

References DebugUtils.printlnWithStackOffset().

Referenced by DebugUtils.println().

static synchronized void printlnWithStackOffset ( Object  object,
int  additionalStackOffset 
) [static]


Definition at line 116 of file

Referenced by DebugUtils.println().

static void setDebugPriorityMask ( int  priorityMask  )  [static]

debugPriorityMask the debugPriorityMask to set

Definition at line 128 of file

static void setDebugTraceVisible ( boolean  debugTrace  )  [static]

debugTrace the debugTrace to set

Definition at line 136 of file

The documentation for this class was generated from the following file:
Generated on Sat Apr 14 18:21:45 2007 for R3 Paper Toolkit by  doxygen 1.4.7