public static void logStackTrace(Level level, Throwable throwable, String message) {
    logger.log(level, message, throwable);
  }
Logs the stack trace for the given Throwable if logger is initialized else prints the stack
trace using System.out.

@param level severity level to log at
@param throwable Throwable to log stack trace for
@param message user friendly error message to show
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/MBeanUtils.java