Package com.gmt2001.Console
Class debug
java.lang.Object
com.gmt2001.Console.debug
-
Method Summary
Modifier and TypeMethodDescriptionstatic StackTraceElement
findCaller
(String myClassName) static String
findCallerInfo
(String myClassName) static String
static void
static void
static void
static void
logStackTrace
(Throwable e, String description) static void
logStackTrace
(Throwable e, Map<String, Object> custom) static void
static void
println()
static void
static void
static void
static void
static void
static void
Prints the stack trace if debug is enabled and not in log only mode Always logs the stack trace, even with debug offstatic void
static void
printStackTrace
(Throwable e, String description) static void
printStackTrace
(Throwable e, Map<String, Object> custom) static void
-
Method Details
-
findCallerInfo
-
findCaller
-
println
public static void println() -
printlnRhino
-
println
-
println
-
println
-
println
-
logln
-
logln
-
getStackTrace
-
printStackTrace
-
printStackTrace
-
printStackTrace
-
printStackTrace
-
printOrLogStackTrace
Prints the stack trace if debug is enabled and not in log only mode Always logs the stack trace, even with debug off- Parameters:
e
- AThrowable
to print/log
-
logStackTrace
-
logStackTrace
-
logStackTrace
-
logStackTrace
-