Package com.microstrategy.utils.log
Class SimpleDebugger
- java.lang.Object
 - 
- com.microstrategy.utils.log.SimpleDebugger
 
 
- 
public class SimpleDebugger extends java.lang.ObjectInstead of using System.out.println statements during development tracing, this factory provides an efficient means of handling debug statements.- Since:
 - MicroStrategy Web 7.3.1 or earlier
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected static java.io.PrintWriterout 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleangetDebug()static java.lang.StringgetStackTrace(java.lang.Throwable e)static Writeinstance()Returns a debugging object that depends upon the debug value in webconfig.properties.static voidsetDebug(boolean debug) 
 - 
 
- 
- 
Method Detail
- 
instance
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.
 
 
- 
setDebug
public static void setDebug(boolean debug)
 
- 
getDebug
public static boolean getDebug()
 
- 
getStackTrace
public static java.lang.String getStackTrace(java.lang.Throwable e)
 
 - 
 
 -