code: public static void printDebugStackTrace(TraceComponent logger, Throwable t,
                                              String message) {
          if (logger.isDebugEnabled()) {
              chTrace.traceDebugStack(logger, t, message);
          }
      }
docs: Print debug stacktrace using given trace component.
  
  @param logger
  @param t
  @param message