Class DebugLog
- java.lang.Object
 - 
- org.pentaho.reporting.libraries.base.util.DebugLog
 
 
- 
public final class DebugLog extends Object
This class provides static log messages for on-going bug-hunting efforts. This removes the need to create temporary log-instances that get removed later anyway.- Author:
 - Thomas Morgner
 
 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidfinishProfiling()static voidlog(Object message)Logs a message using the debug-logger.static voidlog(Object message, Throwable t)Logs a message using the debug-logger.static voidlogEnter()static voidlogExit()static voidlogHere()Logs a HERE message.static voidlogHereWE()Logs a HERE message along with a stack-trace to identify how we got to this point.static voidstartProfiling() 
 - 
 
- 
- 
Method Detail
- 
log
public static void log(Object message)
Logs a message using the debug-logger. By channeling all temporary log messages through this method, we can later easily identify the debugger log entries so that we can remove them.- Parameters:
 message- the message.
 
- 
log
public static void log(Object message, Throwable t)
Logs a message using the debug-logger. By channeling all temporary log messages through this method, we can later easily identify the debugger log entries so that we can remove them.- Parameters:
 message- the message.t- the throwable to be logged.
 
- 
logHere
public static void logHere()
Logs a HERE message. This is only useful as some sort of cheap-and-dirty debug-point entry. 
- 
logHereWE
public static void logHereWE()
Logs a HERE message along with a stack-trace to identify how we got to this point. 
- 
logEnter
public static void logEnter()
 
- 
logExit
public static void logExit()
 
- 
startProfiling
public static void startProfiling()
 
- 
finishProfiling
public static void finishProfiling()
 
 - 
 
 -