public class

SimpleDebugger

extends Object
java.lang.Object
   ↳ com.microstrategy.utils.log.SimpleDebugger

Class Overview

Instead of using System.out.println statements during development tracing, this factory provides an efficient means of handling debug statements.

Summary

Fields
protected static final PrintWriter out
Public Methods
static boolean getDebug()
static String getStackTrace(Throwable e)
static Write instance()
Returns a debugging object that depends upon the debug value in webconfig.properties.
static void setDebug(boolean debug)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected static final PrintWriter out

Public Methods

public static boolean getDebug ()

public static String getStackTrace (Throwable e)

public static Write instance ()

Returns a debugging object that depends upon the debug value in webconfig.properties. Setting debug=true will enable printing to the screen, otherwise all messages are suppressed.

Returns
  • a debugging object.

public static void setDebug (boolean debug)