public class StackTraceUtils extends Object
Constructor and Description |
---|
StackTraceUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getTrace()
Return the whole call trace.
|
static void |
logTrace(org.slf4j.Logger log)
Return the method who make the call.
|
static String |
toString(Throwable t)
Convert stack trace to String
|
static StackTraceElement |
whoCalledMe()
Return the method who make the call.
|
public static StackTraceElement whoCalledMe()
public static void logTrace(org.slf4j.Logger log)
public static String getTrace()
Copyright © 2016. All rights reserved.