Package com.gmt2001.Console
Class debug
java.lang.Object
com.gmt2001.Console.debug
-
Method Summary
Modifier and TypeMethodDescriptionstatic StackTraceElementfindCaller(String myClassName) static StringfindCallerInfo(String myClassName) static Stringstatic voidstatic voidstatic voidloglnRhino(Object o) static voidstatic voidlogStackTrace(Throwable e, String description) static voidlogStackTrace(Throwable e, Map<String, Object> custom) static voidstatic voidprintln()static voidstatic voidstatic voidstatic voidstatic voidstatic voidPrints the stack trace if debug is enabled and not in log only mode Always logs the stack trace, even with debug offstatic voidstatic voidprintStackTrace(Throwable e, String description) static voidprintStackTrace(Throwable e, Map<String, Object> custom) static void
-
Method Details
-
findCallerInfo
-
findCaller
-
println
public static void println() -
printlnRhino
-
loglnRhino
-
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- AThrowableto print/log
-
logStackTrace
-
logStackTrace
-
logStackTrace
-
logStackTrace
-