/** * Get a string containing the stack of the current location * * @return String */ public static String callStackToString() { return stackToString(new RuntimeException()); }
String stack = CommonUtils.stackToString(new OMException()); log.debug("call stack:" + stack); firstUseStack = CommonUtils.stackToString(new OMException()); if(log.isDebugEnabled()){ log.debug("ONE_USE_UNSAFE mode stack:" + firstUseStack);